:root {
    --bgColor: #0c0c0c;
    --textMain: #fafafa;
    --accentColor: #FF8B1C;
    --itemGap: 20px;
    --scrollBehavior: smooth;
}

@keyframes slickFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    margin: 0;
    background: var(--bgColor);
    color: var(--textMain);
    font-family: "Google Sans", sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    animation-name: slickFadeIn;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.stickyHeader {
    position: relative;
    top: -10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 50px 80px;
    background-color: var(--bgColor);
    z-index: 1000;
    box-sizing: border-box;
    align-items: flex-start;
    flex-shrink: 0;
}

.branding h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
}

.branding p {
    margin: 8px 0 0 0;
    color: var(--accentColor);
    font-size: 1.2rem;
    font-weight: 500;
}

nav {
    display: flex;
    gap: 80px;
}

.navGroup h3 {
    margin: 0 0 15px 0;
    color: #999;
    font-size: 1.0rem;
    font-weight: 600;
    text-align: right;
    text-transform: uppercase;
}

.navGroup ul li a {
    color: var(--textMain);
    transition: color 0.3s ease;
    display: block;
    text-align: right;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
}

.navGroup ul li a:hover {
    color: var(--accentColor);
}

.navGroup ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navGroup li a {
    text-decoration: none;
}

.contentArea {
    flex-grow: 1;
    width: 100%;
}

.heroContainer {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: grid;
    padding-bottom: 10px;
}

.gridBlock {
    display: flex;
    flex-direction: column;
    gap: var(--itemGap);
    padding: 0 var(--itemGap);
}

.row {
    display: flex;
    gap: var(--itemGap);
}

.card {
    width: max-content;
    height: max-content;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
}

.card img {
    display: block;
    height: 320px;
    width: auto;
}

.modalOverlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.90);
    z-index: 1000;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modalOverlay.isVisible {
    opacity: 1;
    visibility: visible;
}

.closeButton {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.closeButton:hover {
    color: var(--accentColor);
}

.modalOverlay img {
    max-width: 85%;
    max-height: 85%;
    transition: transform 0.4s ease;
}