/* 
* JPM Security & Services - Style 6
* A modern and sophisticated design with enhanced animations
*/

:root {
    --primary-dark: #1a1f2c;
    --primary-light: #ffffff;
    --accent-color: #e63946;
    --accent-hover: #c1121f;
    --text-dark: #2b2d42;
    --text-light: #f8f9fa;
    --gradient-start: #1a1f2c;
    --gradient-end: #2b2d42;
    --border-color: #e9ecef;
    --bg-light: #f8f9fa;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 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: 100px 0;
    position: relative;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-dark);
}

.nav-link {
    color: var(--primary-light) !important;
    font-weight: 600;
    padding: 10px 20px !important;
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--primary-dark) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    position: relative;
    overflow: hidden;
}

.hero::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;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.hero-content {
    color: var(--primary-light);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.logo-container {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.logo-image {
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.logo-image::before {
    content: 'JPM';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 0;
    line-height: 1;
}

.hero h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-light);
    border: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

.service-card {
    background: var(--primary-light);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::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: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-light);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    background-color: var(--primary-light);
}

.about-image {
    height: 500px;
    background-image: url('ben-rosett-WdJkXFQ4VHY-unsplash.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--accent-color);
    border-radius: 15px;
    z-index: 1;
}

.values {
    margin-top: 40px;
}

.values h3 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.values h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.values ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.values ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-info {
    background: var(--primary-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info ul li i {
    width: 30px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.business-hours {
    background: var(--primary-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.business-hours h3 {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.business-hours h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--primary-light);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.footer-tagline {
    font-size: 1rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.footer a {
    color: var(--primary-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 991.98px) {
    section {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-info,
    .business-hours {
        padding: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
} 