/* ============================================================
   SOLAR SYSTEM COMPONENT STYLES
   ============================================================ */

solar-system-component {
    display: block;
    width: 100%;
}

.hero-orbit-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    animation: floatIn 0.8s ease both;
    animation-delay: 0.4s;
    margin-top: 0;
}

.orbit {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
}

.orbit-1 {
    width: 180px;
    height: 90px;
    border-radius: 90px 90px 0 0;
}

.orbit-2 {
    width: 280px;
    height: 140px;
    border-radius: 140px 140px 0 0;
}

.orbit-3 {
    width: 380px;
    height: 190px;
    border-radius: 190px 190px 0 0;
}

.orbit-4 {
    width: 480px;
    height: 240px;
    border-radius: 240px 240px 0 0;
    z-index: 0;
}

.orbit-center-logo {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: transform 0.3s ease;
}

.orbit-center-logo img {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.orbit-item {
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
    padding: 6px;
}

.orbit-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Float Animation */
@keyframes orbitFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }
}

.item-qb {
    left: 5%;
    top: 40%;
    animation: orbitFloat 5s ease-in-out infinite 0s;
}

.item-or {
    left: 50%;
    top: 0%;
    animation: orbitFloat 4s ease-in-out infinite 1.2s;
}

.item-xero {
    left: 95%;
    top: 40%;
    animation: orbitFloat 4.5s ease-in-out infinite 2.5s;
}

.item-guesty {
    left: 25%;
    top: 15%;
    animation: orbitFloat 5.5s ease-in-out infinite 0.8s;
}

.item-hospitable {
    left: 80%;
    top: 38%;
    animation: orbitFloat 4.2s ease-in-out infinite 1.8s;
}

.item-hostaway {
    left: 25%;
    top: 75%;
    animation: orbitFloat 4.8s ease-in-out infinite 0.5s;
}

/* Precisely positioning items on their orbit arcs (Calculated for current sizes) */
.orbit-4 .item-qb {
    left: 8%;
    top: 45.8%;
}

.orbit-4 .item-or {
    left: 50%;
    top: 0%;
}

.orbit-3 .item-xero {
    left: 92%;
    top: 45.7%;
}

.orbit-2 .item-guesty {
    left: 20%;
    top: 20%;
}

.orbit-2 .item-hospitable {
    left: 85%;
    top: 28.5%;
}

.orbit-1 .item-hostaway {
    left: 25%;
    top: 13.4%;
}

/* Responsive Setup */
@media (max-width: 1199px) {
    .hero-orbit-wrapper {
        transform: scale(0.9);
        transform-origin: bottom center;
        margin-bottom: -30px;
    }
}

@media (max-width: 991px) {
    .hero-orbit-wrapper {
        transform: scale(0.8);
        transform-origin: bottom center;
        margin-bottom: -60px;
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .hero-orbit-wrapper {
        transform: scale(0.65);
        transform-origin: bottom center;
        margin-bottom: -80px;
    }
}

@media (max-width: 576px) {
    .hero-orbit-wrapper {
        transform: scale(0.5);
        transform-origin: bottom center;
        margin-bottom: -100px;
    }
}