/* Header and navigation styles */

/* Logo styling */
.logo-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    width: 180px; /* Fixed width container */
}

.logo-text > div:first-child {
    display: flex;
    width: 100%;
    justify-content: center; /* Center the IMAGINE text */

}

.black-text {
    color: #000;
}

.animated-text {
    color: #E53E2E;
    animation: colorChange 4s infinite alternate;
}

.tagline {
    font-family: 'Oswald', sans-serif;
    color: #E53E2E;
    font-size: 0.58rem; 
    font-weight: 400;
    letter-spacing: 0.06em;
    margin-top: -1px;
    animation: colorChange 4s infinite alternate;
    text-decoration: underline 1px;
    text-underline-offset: 2px;
    display: block;
    width: 100%; /* Full width of parent container */
    white-space: nowrap;
    text-transform: uppercase;
    text-align: center; /* Center the tagline text */
}

@keyframes colorChange {
    0%, 30% {
        color: #E53E2E;
    }
    70%, 100% {
        color: #000;
    }
}

/* Desktop dropdown styling */
.contents-section:hover .contents-items {
    display: block;
}

.contents-section:hover .contents-header i {
    transform: rotate(180deg);
}

/* Desktop nav dropdowns */
.header-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 50;
}

.header-nav-item:hover .header-dropdown {
    opacity: 1;
    visibility: visible;
}

/* Gradient text for icons */
.gradient-text {
    background: linear-gradient(to right, #b30000, #ff4d4d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
} 