/* === Final Hero Section CSS === */

.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    overflow: hidden;
    background-color: #0c141c;
    background-image: radial-gradient(ellipse at 65% 50%, #1a2a3a 0%, #0c141c 60%);
}

.hero-content {
    flex-basis: 45%;
    z-index: 20; /* Keeps text on top of the globe */
    padding: 40px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #f1d27a, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #bdc3c7;
    max-width: 450px;
    margin-bottom: 40px;
}

.hero-button {
    padding: 15px 35px;
    background: #c5a47e;
    color: #111;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.hero-button:hover {
    background: transparent;
    color: #c5a47e;
    border-color: #c5a47e;
    transform: translateY(-3px) scale(1.05);
}

/* --- Globe Specific CSS --- */
.globe-container {
    flex-basis: 55%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

#globe-canvas {
    width: 100%;
    height: 100%;
    max-width: 750px;
    max-height: 750px;
    cursor: grab;
    z-index: 1;
}

#label-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.country-label {
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
    text-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 1);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 50px 20px;
    }
    .hero-content {
        margin-bottom: -50px;
        flex-basis: auto;
    }
    .hero-title {
        font-size: 3rem;
    }
    .globe-container {
        height: 50vh;
        width: 100%;
        flex-basis: auto;
    }
}