/* 
* JPM Security & Services - Style 1
* A modern, responsive design based on the business card colors
*/

: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 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

section {
    padding: 80px 0;
}

.btn-primary {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--primary-light);
    padding: 10px 25px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--accent-gray);
    border-color: var(--accent-gray);
    color: var(--primary-light);
}

/* Navigation */
.navbar {
    background-color: var(--primary-dark);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
}

.brand-text {
    color: var(--primary-light);
    letter-spacing: 2px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--primary-light);
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-silver);
}

/* Hero Section */
.hero {
    background-color: var(--primary-dark);
    color: var(--primary-light);
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.9) 0%, rgba(10, 14, 23, 0.7) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 30px;
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 0;
}

.hero h2 {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 400;
}

.logo-container {
    width: 120px;
    height: 120px;
    position: relative;
}

.logo-image {
    width: 100%;
    height: 100%;
    background-image: url('ben-rosett-WdJkXFQ4VHY-unsplash.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
}

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

.section-header h2 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

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

.service-card {
    background-color: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* About Section */
.about {
    background-color: #f8f9fa;
}

.about-image {
    height: 400px;
    background-image: url('ben-rosett-WdJkXFQ4VHY-unsplash.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: 5px solid var(--primary-dark);
}

.values ul {
    list-style: none;
    padding-left: 0;
}

.values ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.values ul li:last-child {
    border-bottom: none;
}

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

.contact-info {
    background-color: var(--primary-dark);
    color: var(--primary-light);
    padding: 30px;
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

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

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

.contact-info ul li i {
    margin-right: 15px;
    margin-top: 5px;
}

.social-links {
    display: flex;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    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 .form-control {
    border-radius: 0;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-dark);
}

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

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

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

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.footer-tagline {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-image {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 30px 15px;
    }
    
    .logo-container {
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}