/*
 * Multimedia Technology / FH Salzburg
 * Project: Multimedia Projekt 1 -> Bridgex
 * Author: Mihaela Popadic
 */
img{
    display:block;
    width:100%;
}

/* HERO */
.hero-split{
    position:relative;
    display:flex;
    width:100%;
    height:100vh;
    min-height:580px;
    overflow:hidden;
    background:#111;
}

.left-panel,
.right-panel{
    position:relative;
    width:50%;
    height:100%;
    overflow:hidden;
}

.left-panel img,
.right-panel img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.left-panel::after,
.right-panel::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:1;
}

/* transparent header overlay on hero */
header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    padding:28px 0;
    background:transparent;
    border-bottom:none;
    z-index:20;
}

nav a{
    color:#fff;
}

nav a::after{
    background:#fff;
}

nav p{
    color:#fff;
}

nav a:hover{
    color:#2b7b8c;
}

nav a:hover::after{
    background:#2b7b8c;
}

/* HERO TEXT */
.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:90%;
    max-width:680px;
    text-align:center;
    color:#fff;
    z-index:10;
}

.hero-label{
    display:inline-block;
    font-size:11px;
    font-weight:700;
    letter-spacing:3px;
    margin-bottom:18px;
    text-transform:uppercase;
    opacity:0.8;
}

.hero-title p{
    color:#2b7b8c;
}

.hero-content h1{
    font-size:clamp(36px, 5vw, 58px);
    line-height:1.05;
    margin-bottom:22px;
    font-weight:800;
    letter-spacing:-0.5px;
}

.hero-description{
    max-width:520px;
    margin:0 auto 34px;
    font-size:clamp(14px, 1.4vw, 17px);
    line-height:1.7;
    color:rgba(255,255,255,0.85);
}

/*weißer hintergrund für hero*/
.hero-content .btn{
    border-color:#fff;
    color:#fff;
}

.hero-content .btn::after{
    background:#fff;
}

.hero-content .btn:hover{
    color:#111;
}

/* OPPORTUNITIES SECTION */
.opportunities-section{
    position:relative;
    padding:clamp(60px, 8vw, 110px) clamp(20px, 8%, 100px) clamp(50px, 6vw, 80px);
    background:#f5f5f5;
    overflow:hidden;
}

.section-top{
    position:relative;
    z-index:1;
    max-width:1200px;
    margin:0 auto 50px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:end;
}

.section-label{
    font-size:11px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#2b7b8c;
    font-weight:700;
    margin-bottom:14px;
}

.section-top h2,
.bridge-text h2{
    font-size:clamp(28px, 3.5vw, 44px);
    line-height:1.1;
    color:#111;
    max-width:540px;
    letter-spacing:-0.3px;
}

.section-intro{
    max-width:500px;
    color:#555;
    line-height:1.85;
    font-size:15px;
}

.opportunity-grid{
    position:relative;
    z-index:1;
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
}

.opportunity-card{
    min-height:260px;
    background:#fff;
    border:1px solid rgba(0,0,0,0.05);
    border-radius:16px;
    padding:30px 26px;
    box-shadow:0 8px 24px rgba(0,0,0,0.06);
    transition:transform 0.3s ease, box-shadow 0.3s ease;
    display:flex;
    flex-direction:column;
}

.opportunity-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,0.1);
}

.card-icon{
    width:44px;
    height:44px;
    border-radius:10px;
    border:2px solid #2b7b8c;
    color:#2b7b8c;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:13px;
    margin-bottom:24px;
    flex-shrink:0;
}

.opportunity-card h3{
    font-size:18px;
    margin-bottom:12px;
    color:#111;
    font-weight:700;
}

.opportunity-card p{
    font-size:14px;
    line-height:1.75;
    color:#666;
    margin-bottom:20px;
    flex:1;
}

.opportunity-card a{
    font-size:12px;
    font-weight:700;
    color:#2b7b8c;
    text-transform:uppercase;
    letter-spacing:1.5px;
    margin-top:auto;
    transition:letter-spacing 0.2s ease;
    display:inline-block;
}

.opportunity-card a:hover{
    letter-spacing:2.5px;
}

.center-button{
    display:flex;
    justify-content:center;
    margin-top:44px;
}

.outline-btn{
    display:inline-block;
    padding:13px 36px;
    border:2px solid #2b7b8c;
    border-radius:50px;
    color:#2b7b8c;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:11px;
    font-weight:700;
    transition:background 0.3s ease, color 0.3s ease;
}

.outline-btn:hover{
    background:#2b7b8c;
    color:#fff;
}

/* ABOUT BRIDGEX */
.bridge-about{
    position:relative;
    padding:clamp(60px, 8vw, 90px) clamp(20px, 8%, 100px);
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
    background:#fff;
    overflow:hidden;
}

.bridge-text{
    position:relative;
    z-index:1;
    max-width:560px;
}

.bridge-text h2{
    margin-bottom:26px;
}

.bridge-text p{
    color:#555;
    line-height:1.85;
    margin-bottom:18px;
    font-size:15px;
}

.bridge-image{
    position:relative;
    z-index:1;
}

.bridge-image img{
    height:380px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 20px 50px rgba(0,0,0,0.12);
}

/* NUMBERS */
.numbers-section{
    max-width:1200px;
    margin:0 auto 100px;
    border-radius:16px;
    overflow:hidden;
    display:grid;
    grid-template-columns:280px 1fr;
    background:#173d34;
    box-shadow:0 20px 50px rgba(0,0,0,0.14);
}

.numbers-title{
    background:#2b7b8c;
    color:#fff;
    padding:48px 36px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.numbers-title p{
    font-size:10px;
    letter-spacing:2.5px;
    text-transform:uppercase;
    opacity:0.75;
    margin-bottom:16px;
}

.numbers-title h2{
    font-size:clamp(22px, 2vw, 30px);
    line-height:1.2;
    font-weight:800;
}

.numbers-box{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    align-items:center;
    text-align:center;
    color:#fff;
    padding:40px 20px;
}

.numbers-box > div{
    padding:20px;
    border-left:1px solid rgba(255,255,255,0.08);
}

.numbers-box > div:first-child{
    border-left:none;
}

.numbers-box h3{
    font-size:clamp(30px, 3vw, 42px);
    color:#5bc8db;
    margin-bottom:10px;
    font-weight:800;
}

.numbers-box p{
    font-size:11px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:rgba(255,255,255,0.7);
    line-height:1.5;
}

/* FOOTER */
.footer{
    margin-top:0;
}

/* TABLET (768–1000px): 2-column opportunity grid */
@media (max-width: 1000px){
    header{
        padding:22px 0;
    }

    .hero-split{
        display:flex;
        align-items:center;
        justify-content:center;
        height:620px;
        min-height:620px;
        position:relative;
        background-image:
                linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
                url("../images/mobile-hero.png");
        background-size:cover;
        background-position:center;
        background-repeat:no-repeat;
    }

    .left-panel,
    .right-panel{
        display:none;
    }

    .hero-content{
        position:relative;
        top:auto;
        left:auto;
        transform:none;
        width:88%;
        max-width:480px;
    }

    .opportunity-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .bridge-about{
        grid-template-columns:1fr;
        gap:40px;
    }

    .bridge-image img{
        height:280px;
    }

    .numbers-section{
        margin:0 24px 70px;
        grid-template-columns:1fr;
    }

    .numbers-title{
        padding:36px 28px;
    }

    .numbers-box{
        grid-template-columns:repeat(3, 1fr);
        padding:36px 20px;
    }
}

/* section-top stacks earlier */
@media (max-width: 860px){
    .section-top{
        grid-template-columns:1fr;
        gap:20px;
        margin-bottom:36px;
    }
}

/* MOBILE */
@media (max-width: 600px){
    .hero-split{
        height:100svh;
        min-height:560px;
    }

    .hero-content{
        width:90%;
        max-width:340px;
    }

    .opportunity-grid{
        grid-template-columns:1fr;
    }

    .opportunity-card{
        min-height:auto;
    }

    .numbers-box{
        grid-template-columns:1fr;
        padding:24px 20px;
    }

    .numbers-box > div{
        border-left:none;
        border-top:1px solid rgba(255,255,255,0.08);
        padding:22px 20px;
    }

    .numbers-box > div:first-child{
        border-top:none;
    }

    .footer-links{
        flex-direction:column;
        gap:14px;
    }
}