/* ============================================
   ai.work Landing Page - Custom Styles
   Based on steuerfachangestellte-koeln.de design
   ============================================ */

/* Brand highlight for ai.work in body text */
.brand-hl {
    color: #285eaa;
    font-weight: 700;
}

.brand-hl-gold {
    color: #E1B222;
    font-weight: 700;
}

/* Font Face */
@font-face {
    font-family: 'PT Sans';
    src: url('../fonts/PTSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Sans';
    src: url('../fonts/PTSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---- Color Variables ---- */
:root {
    --dark-navy: #000A2D;
    --brand-blue: #255EAD;
    --brand-blue-light: #3070c4;
    --text-gray: #57667E;
    --text-dark: #212529;
    --light-gray: #f5f6f8;
    --border-gray: #E5E6E9;
    --gold: #E1B222;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-gray);
    background-color: var(--white);
    background-image: radial-gradient(circle, #ececec 1.5px, transparent 1.5px);
    background-size: 13px 13px;
    background-attachment: fixed;
    position: relative;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Sans', sans-serif;
    color: var(--dark-navy);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 40px;
    margin-bottom: 8px;
    line-height: 52px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

p {
    color: var(--text-gray);
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 30px;
}

/* ---- Navbar ---- */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 10, 45, 0.08);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.navbar-custom .navbar-brand span {
    color: var(--brand-blue);
}

.navbar-custom .nav-link {
    color: var(--dark-navy);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar-custom .nav-link:hover {
    color: var(--brand-blue);
}

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #0d1f5c 50%, var(--brand-blue) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
}

.hero-section .btn-hero {
    background-color: var(--dark-navy);
    color: var(--white);
    font-weight: 500;
    padding: 30px 36px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 1.5rem;
}

.hero-section .btn-hero:hover {
    background-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 10, 45, 0.3);
}

/* ---- Sections General ---- */
.content-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-white {
    background-color: rgba(255, 255, 255, 0.3);
}

.section-light {
    background-color: rgba(240, 241, 243, 0.7);
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--brand-blue);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--brand-blue);
    border-radius: 2px;
}

/* Center underline for intro */
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ---- Watermark Numbers ---- */
.watermark-col {
    position: relative;
    overflow: hidden;
}

.watermark {
    position: absolute;
    font-size: 250px;
    font-weight: 700;
    font-family: 'PT Sans', sans-serif;
    color: #333333;
    opacity: 0.1;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 0;
}

/* ---- Content Blocks ---- */
.content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 2rem 1.5rem;
}

.content-text p {
    font-size: 18px;
}

/* ---- Image Placeholders ---- */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 10, 45, 0.12);
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---- Intro Section ---- */
.intro-section {
    padding: 100px 0 60px;
    background-color: rgba(255, 255, 255, 0.3);
}

.intro-section .intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* ---- Divider Bar (between sections) ---- */
.divider-bar {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #0d1f5c 50%, var(--brand-blue) 100%);
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
}

.divider-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 25px 25px;
}

.divider-bar p {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    max-width: none;
    line-height: 1.4;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--dark-navy), var(--brand-blue));
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 25px 25px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-cta {
    background-color: var(--white);
    color: var(--dark-navy);
    font-weight: 500;
    padding: 30px 36px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.btn-cta:hover {
    background-color: var(--gold);
    color: var(--dark-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(225, 178, 34, 0.4);
}

/* ---- Footer ---- */
.footer {
    background-color: var(--dark-navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem 0;
    font-size: 0.9rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ---- Feature Icons ---- */
.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 94, 173, 0.1);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--brand-blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .watermark {
        font-size: 150px;
    }

    .hero-section {
        min-height: 70vh;
        text-align: center;
    }

    .hero-section .lead {
        margin: 0 auto;
    }

    .content-section {
        padding: 3.5rem 0;
    }

    .content-text {
        padding: 2rem 0.5rem;
    }

    .divider-bar p {
        font-size: 1.3rem;
    }

    .img-placeholder {
        min-height: 280px;
        margin-bottom: 1.5rem;
    }

    /* On mobile, always show text first, image second */
    .row-reverse-mobile {
        flex-direction: column-reverse;
    }
}

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

    body {
        font-size: 16px;
    }

    .watermark {
        font-size: 120px;
    }

    .content-section {
        padding: 60px 0;
    }

    .img-placeholder {
        min-height: 220px;
    }
}
