/* 10x Security Solutions - Main Stylesheet */

/* --- Variables and Base Styles --- */
:root {
    --accent-blue: #005CB9;   /* Blue from your logo */
    --primary-dark: #212529; /* Dark charcoal from your logo */
    --accent-grey: #6c757d;   /* Grey for accents */
    --accent-green: #2ecc71;   /* Secure Green for calls to action */
    --light-text: #f4f4f4;
    --dark-text: #333;
    --body-bg: #FFFFFF; /* A clean white background */
    --section-bg: #f8f9fa; /* A very light grey for alternating sections */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--body-bg);
    color: var(--dark-text);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Section A: Navigation Bar --- */
.navbar {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo img {
    /* --- LOGO SIZE CONTROL --- */
    /* We've adjusted the height here to make the logo fit the navbar better. */
    /* You can change this value (e.g., to 45px or 55px) to fine-tune the size. */
    height: 40px; 
    width: auto;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
}

.navbar .nav-links li {
    margin-left: 2rem;
}

.navbar a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--accent-blue);
}

/* --- Section B: Hero Section --- */
.hero {
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
    margin-top: 65px; /* Adjust for fixed navbar height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 37, 41, 0.7);
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #fff;
    border: 2px solid var(--accent-green);
}

.btn-primary:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}

.btn-secondary {
    background-color: var(--accent-blue);
    color: var(--light-text);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background-color: #004a9a;
    border-color: #004a9a;
}

/* --- Main Content Sections --- */
.intro-section {
    padding: 4rem 0;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-section .lead {
    font-size: 1.1rem;
    color: var(--accent-grey);
    max-width: 800px;
    margin: 0 auto;
}

.feature-section {
    padding: 5rem 0;
}

.feature-section:nth-child(even) { /* This creates the alternating background color */
    background-color: var(--section-bg);
}

.feature-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.alt-layout .feature-container {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.feature-text p {
    margin-bottom: 1.5rem;
}

.feature-text ul {
    list-style: none;
    padding-left: 0;
}

.feature-text ul li {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23005CB9'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

/* --- Software Spotlight --- */
.software-spotlight-full {
    background: var(--primary-dark);
    color: var(--light-text);
    padding: 5rem 0;
    text-align: center;
}

.software-spotlight-full h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.software-spotlight-full p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-dark);
    color: var(--light-text);
    text-align: center;
    padding: 2rem 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }

    .navbar .nav-links {
        margin-top: 1rem;
    }
    
    .navbar .nav-links li {
        margin: 0 0.7rem;
    }

    .hero {
        margin-top: 110px; /* Adjust for taller navbar */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-container {
        flex-direction: column;
    }

    .alt-layout .feature-container {
        flex-direction: column;
    }
}


