:root {
    --header-height: 52px;
    --header-container-height: 51px;
    --top-line-height: 0px;
    --total-header-height: 52px;
}


/* FONT IMPORTS */
@font-face {
    font-family: 'Bender';
    src: url('/assets/fonts/Bender.otf') format('opentype');
    font-weight: 400;
}
@font-face {
    font-family: 'Bender';
    src: url('/assets/fonts/Bender-Light.otf') format('opentype');
    font-weight: 300;
}
@font-face {
    font-family: 'Bender';
    src: url('/assets/fonts/Bender-Bold.otf') format('opentype');
    font-weight: 700;
}
@font-face {
    font-family: 'Bender';
    src: url('/assets/fonts/Bender-Black.otf') format('opentype');
    font-weight: 900;
}

body {
	background-image: url('/assets/img/top_shadow.png');
	background-color: #131414;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;	
    color: #c2cdcd;
    font-family: Bender,serif;


}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url('/assets/img/stripes_rotated.png');
    opacity: 1; /* ajustezi intensitatea */
    z-index: 1; /* peste tot */
}

.footer-shadow {
    background-image: url('/assets/img/footer_shadow.png');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: auto;
    height: 520px;
    pointer-events: none;
    transition: bottom .01s ease-in-out, opacity .2s ease-in-out;
    width: 100%;
    z-index: 0;
	bottom: -16.5121px;
	opacity: .6;
	position: flex;
	margin: -7px;
}
.footer-shadow {
    pointer-events: none;
}




.footer-shadow h1 {
	text-align: center;
	font-size: 15px;
	text-shadow:
        0 0 4px rgb(120 237 240 / 25%),
        0 0 10px rgb(75 159 160 / 15%);
	padding-top: 460px;
}

/* hero */
.projects-hero {
    text-align: center;
    padding: 50px 0 30px;
    color: #fff;
}

.projects-hero h1 {
    font-size: 42px;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-family: "Bender";
}

.projects-hero p {
    font-size: 18px;
    opacity: 0.8;
    font-family: "Bender";
}

/* container */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding: 20px 40px;
}

/* card */
.project-card {
    background: #111;
    width: 360px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #222;
    transition: 0.3s ease;
	opacity: 0.5;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #00a2ff;
	opacity: 1;
}

/* thumbnail */
.project-thumb {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
	
}

/* content */
.project-content {
    padding: 15px 18px;
    color: #ddd;
    font-family: "Bender";
}

.project-content h2 {
    margin-top: 0;
    margin-bottom: 6px;
    font-family: "Bender";
    color: #fff;
}

.project-desc {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 14px;
}

/* status labels */
.project-status {
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 12px;
}

.status-coming { background: #ffae00; color: #000; }
.status-prototype { background: #0094ff; color: #fff; }
.status-concept { background: #777; color: #fff; }
.status-release { background: #2ecc71; color: #fff; }

/* button */
.project-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: #00a2ff;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    margin-top: 10px;
    text-decoration: none;
    transition: 0.2s;
}

.project-btn:hover {
    background: #008adc;
}
body.dynamic-bg {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 110% !important;
    background-attachment: fixed !important;
    animation: zoomCycle 2s ease-in-out infinite;
}

@keyframes zoomCycle {
    0% {
        background-size: 105%;
    }
    50% {
        background-size: 110%;
    }
    100% {
        background-size: 105%;
    }
}


body {
    transition: background-image 0.3s ease-in-out, background-size 0.3s ease-in-out;
}
#bg-dynamic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-position: center;
    background-size: 102%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 0.5s ease-in-out, background-size 0.5s ease-in-out;
    animation: zoomCycle 5s ease-in-out infinite alternate;
    opacity: 1;
	overflow-x: hidden;
}

@keyframes zoomCycle {
    0% { background-size: 102%; }
    100% { background-size: 112%; }
}
