:root {
    --color-clifford: #da373d;
}

.logo-bg {
    background-color: #0A1016;
}
.tech-accent {
    background-color: #0A1016;
}
.accent-color {
    color: #0A1016;
}

/* Logo Animation Overlay */
#logo-animation-overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0A1016;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#isotype-anim {
    height: 100px;
    width: auto;
    z-index: 2;
    transition: transform 1s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}

#logotype-anim {
    height: auto;
    max-width: 100%;
    z-index: 2;
    transition: transform 1s cubic-bezier(.77,0,.18,1), opacity 0.3s;
    margin-left: -20px;
}

#isotype-anim.separate { transform: translateX(-120px); }
#logotype-anim.separate { transform: translateX(120px); }

#isotype-anim.union { 
    transform: translateX(0);
    transition: transform 1s cubic-bezier(.77,0,.18,1);
}

#logotype-anim.union { 
    transform: translateX(0);
    transition: transform 1s cubic-bezier(.77,0,.18,1);
}

#isotype-anim.crash, #logotype-anim.crash {
    opacity: 0;
    transition: transform 1s cubic-bezier(.77,0,.18,1), opacity 0.2s;
}

#union-effect {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 1;
}

#union-effect.active {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}

#main-content {
    opacity: 0;
    transition: opacity 0.5s;
}

/* Team Section Styles */
.team-member-image {
    max-width: 120px;
}

.quote-decoration {
    height: 95px;
    top: -94px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        gap: 1rem;
    }

    #isotype-anim {
        height: 80px;
    }

    #logotype-anim {
        margin-left: 0;
        height: 40px;
    }

    #isotype-anim.separate { transform: translateY(-60px); }
    #logotype-anim.separate { transform: translateY(60px); }

    .team-member-image {
        max-width: 100px;
    }

    .quote-decoration {
        height: 60px;
        top: -59px;
    }
}

@media (max-width: 640px) {
    #isotype-anim {
        height: 60px;
    }

    #logotype-anim {
        height: 30px;
    }

    .team-member-image {
        max-width: 80px;
    }

    .quote-decoration {
        height: 40px;
        top: -39px;
    }
}

/* Container padding adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Section padding adjustments */
@media (max-width: 768px) {
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Text size adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 1rem !important;
    }
}

/* Service cards adjustments */
@media (max-width: 768px) {
    .w-full.md\:w-6\/12.lg\:w-4\/12 {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}

/* Team section adjustments */
@media (max-width: 768px) {
    .w-full.md\:w-6\/12.lg\:w-3\/12 {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Hero section adjustments */
@media (max-width: 768px) {
    #home {
        height: auto;
        min-height: 100vh;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
}

/* Navbar adjustments */
@media (max-width: 768px) {
    nav .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
