/* Hasse Cyber Security - Corporate Design System */

:root {
    /* ========== Color Palette (White & Orange Modern) ========== */
    --bg-main: #ffffff;
    /* Main Background - White */
    --bg-secondary: #f8f9fa;
    /* Section/Card Background - Light Gray */
    --bg-dark: #111111;
    /* Footer/Contrast Background */

    --accent-500: #ff6b00;
    /* Vibrant Orange */
    --accent-600: #e65100;
    /* Darker Orange for hover */
    --accent-glow: rgba(255, 107, 0, 0.1);

    --text-main: #1a1a1a;
    /* Dark Gray/Black Text */
    --text-muted: #555555;
    /* Medium Gray Text */
    --text-inverse: #ffffff;
    /* White text for dark backgrounds */

    --glass-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.08);

    /* ========== Typography ========== */
    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    /* Hero Headline */

    /* ========== Spacing & Layout ========== */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========== Layout Utilities ========== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-500);
}

/* ========== Components: Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-500);
}

.nav-cta {
    background: var(--accent-500);
    color: var(--text-inverse);
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
}

.nav-cta:hover {
    background: var(--accent-600);
    color: var(--text-inverse);
}

/* ========== Mobile Menu Toggle ========== */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* ========== Components: Hero ========== */
.hero {
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 107, 0, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.05) 0%, transparent 20%);
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    color: var(--accent-500);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.hero-title-main {
    color: var(--text-main);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title-sub {
    color: var(--text-muted);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-text {
    max-width: 500px;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-500);
    border: 1px solid var(--accent-500);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background: var(--accent-600);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

/* ========== Components: Cards ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-500);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-500);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.card-title {
    color: var(--text-main);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* ========== Section: About ========== */
.about-section {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

/* ========== Footer ========== */
.footer {
    background: var(--bg-dark);
    padding: 40px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ========== Services Page Specifics ========== */
.service-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.service-item h3 {
    color: var(--text-main);
}

.service-header h1 {
    color: var(--text-inverse) !important;
}

.service-header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ========== Mobile Menu ========== */
.mobile-nav-active {
    background: var(--bg-main) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* TODO: Implement JS toggle */
    }

    .mobile-toggle {
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-title-main {
        font-size: 3rem;
    }

    .hero-title-sub {
        font-size: 2rem;
    }

    .about-section {
        grid-template-columns: 1fr;
    }
}