body.transitioning {
    overflow: hidden;
}

.logo-container {
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-minimized {
    transform: scale(0.35);
    position: fixed;
    top: 10px;
    left: 20px;
    padding: 0;
    margin: 0;
    z-index: 100;
}

.logo-minimized .logo {
    font-size: 4rem;
}

.content-wrapper {
    transition: all 1s ease-out;
}

.content-expanded {
    padding-top: 100px;
    justify-content: flex-start;
}

.terminal-container, .footer {
    transition: opacity 0.8s ease-out;
}

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 2rem;
    z-index: 90;
    border-bottom: 2px solid #A50113;
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin-right: 4rem;
}

.nav-menu li {
    margin: 0 1.2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A50113;
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: #A50113;
}

.nav-menu a:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: #A50113;
    padding: 0.5rem 1.2rem !important;
    border-radius: 4px;
    transition: background-color 0.3s !important;
}

.contact-btn:hover {
    background-color: #860113 !important;
    color: white !important;
}

.homepage-content {
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.hero-section {
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #FFF, #A50113);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-section p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.primary-btn {
    background-color: #A50113;
    color: white;
}

.primary-btn:hover {
    background-color: #860113;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 1, 19, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid #A50113;
}

.secondary-btn:hover {
    background-color: rgba(165, 1, 19, 0.1);
    transform: translateY(-2px);
}

.stats-section {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 3rem 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(165, 1, 19, 0.3);
    border-bottom: 1px solid rgba(165, 1, 19, 0.3);
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #A50113;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(165, 1, 19, 0.5);
}

.stat-label {
    font-size: 1.2rem;
    color: #eee;
    letter-spacing: 1px;
}