/* Global Styles for LaSelecta Security Website */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #003366;
    --secondary-color: #0077b6;
    --accent-color: #00a8e8;
    --light-bg: #f5f7fa;
    --text-color: #333;
    --dark-text: #001f3f;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation Bar */
.navbar {
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 40px;
    margin-right: 10px;
}

.navbar .logo span {
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar li {
    position: relative;
}

.navbar a {
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.navbar a:hover {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 19, 48, 0.6);
    z-index: 0;
}

.hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: auto;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.4;
    opacity: 0.9;
}

.hero .bullet-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero .bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.hero .cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--accent-color);
}
.btn-outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}
.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Trust band */
.trust-band {
    background-color: #e8f1f8;
    color: var(--dark-text);
    padding: 15px 0;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* Section general */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-text);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background-image: url('assets/icons-grid.png');
    background-repeat: no-repeat;
    background-size: 300% 200%;
}

/* Background positions for each icon */
.icon.audit { background-position: 0% 0%; }
.icon.pentest { background-position: 50% 0%; }
.icon.hardening { background-position: 100% 0%; }
.icon.monitor { background-position: 0% 100%; }
.icon.ir { background-position: 50% 100%; }
.icon.training { background-position: 100% 100%; }

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Segments section */
.segments-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}

.segments-list li {
    list-style: none;
    background-color: #fff;
    padding: 20px 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* Methodology Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.step p {
    font-size: 0.9rem;
}

/* Plans teaser */
.plans-teaser {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.plan-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    width: 280px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.plan-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.plan-card p {
    font-size: 0.9rem;
}

/* Resources section */
.resource-section {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.resource-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.resource-section p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .bullet-list {
        flex-direction: column;
        gap: 15px;
    }
    .navbar ul {
        display: none;
    }
    /* Could add mobile nav toggler if needed */
}