/* Loading Animation Styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
}

.hexagon {
    position: absolute;
    width: 60px;
    height: 34px;
    background-color: #D4A017;
    margin: 17px 0;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: pulse 1.5s infinite ease-in-out;
}

.hexagon:nth-child(1) {
    left: 0;
    top: 0;
    animation-delay: 0s;
    background-color: #D4A017;
}

.hexagon:nth-child(2) {
    left: 20px;
    top: 20px;
    animation-delay: 0.2s;
    background-color: #F2CA80;
}

.hexagon:nth-child(3) {
    left: 40px;
    top: 40px;
    animation-delay: 0.4s;
    background-color: #8D6E63;
}

.logo-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.5s forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Page transition effect */
body {
    animation: fadeInPage 1s ease-in-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
