@font-face {
    font-family: 'AlexCustom';
    src: url('https://cdn.low-emedia.com/templates/agency/fonts/alex.woff-webfont.ttf') format('woff');
}
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('https://cdn.low-emedia.com/templates/agency/fonts/glyphicons-halflings-regular.ttf') format('woff');
}

:root {
    --bg: #0e0e0e;
    --text: #f0f0f0;
    --logo: #f5f5f5;
    --dark-grey: #1a1a1a;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', sans-serif;
}

header {
    background: #111;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.corporate {
    font-family: 'AlexCustom', sans-serif;
}

.logo {
    font-size: 1.8rem;
    color: var(--logo);
}

.logo a {
    font-size: 1.8rem;
    color: var(--logo);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90vh;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(rgba(14, 14, 14, 0.3), rgba(14, 14, 14, 0.3)), url("https://cdn.low-emedia.com/templates/agency/images/data_center.webp") no-repeat center center;
}

.hero p {
    text-shadow: #0a0a0a 2px 3px 3px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text);
}

@media(min-width: 600px) {
    .hero h1 {
        text-shadow: #0a0a0a 2px 3px 3px;

    }
}
@media(max-width: 600px) {
    .hero h1 {
        text-shadow: #0a0a0a 1px 2px 2px;
    }
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-top: 0.5rem;
}

.btn, button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(145deg, #222, #444);
    transition: 0.3s;
    text-decoration: none;
}

.btn:hover, button:hover {
    background: linear-gradient(145deg, #333, #555);
}

section {
    padding: 4rem 2rem;
}

.about, .contact {
    background: var(--dark-grey);
    text-align: center;
}

.about p {
    margin: 10px 0;
}

.portfolio {
    background: #121212;
    text-align: center;
}

.portfolio-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    flex: 1 1 300px;
    max-width: 400px;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    min-height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s;
    object-fit: contain;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .overlay {
    transform: translateY(0);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

input, textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
}

.footer {
    text-align: center;
    padding: 1rem;
    background: #111;
    font-size: 0.9rem;
}

.footer-logo {
    font-size: 1.6rem;
}
@media(max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

#scrollToTop div {
    font-family: "Glyphicons Halflings",serif;
    font-size: 2rem;
    color: #111;
    margin: 3px 10px;
}

#scrollToTop div:after {
    content: "\e113"
}
