/* Vista Camera Section Styles */
.vista-camera-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.vista-camera-container {
    position: relative;
    width: 100vw;
    height: auto;
    overflow: hidden; /* Clip any content that extends beyond vista background */
}

.vista-camera-bg {
    width: 100vw;
    height: auto;
    display: block;
}

.camera-overlay {
    position: absolute;
    top: 8%;
    left: 1%;
    width: 200%;
    height: 200%;
    object-fit: contain;
    pointer-events: none; /* Allow clicks through to video/controls */
    z-index: 10;
}

.vista-camera-video {
    position: absolute;
    /* Position relative to camera container for perfect alignment */
    top: 66.5%;
    left: 48.5%;
    transform: translate(-50%, -50%);
    /* Use percentages of container for consistent scaling */
    width: 28%;
    height: 28%;
    object-fit: cover;
    border-radius: 0.15%;
}

/* Video Control Buttons - Independent Styling */
.play-pause-btn {
    position: absolute;
    top: 70.5%;            /* ← PLAY BUTTON vertical position (% of vista) */
    right: 67.5%;            /* ← PLAY BUTTON horizontal position (% of vista) */
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--claret);
    border-radius: 50%;
    /* Fixed equal dimensions for perfect circle */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--claret);
    z-index: 30; /* Higher than camera overlay */
}

.mute-btn {
    position: absolute;
    top: 64.75%;              /* ← MUTE BUTTON vertical position (% of vista) */
    right: 67.5%;            /* ← MUTE BUTTON horizontal position (% of vista) */
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--claret);
    border-radius: 50%;
    /* Fixed equal dimensions for perfect circle */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--claret);
    z-index: 30; /* Higher than camera overlay */
}

.fullscreen-btn {
    position: absolute;
    top: 59%;              /* ← FULLSCREEN BUTTON vertical position (% of vista) */
    right: 67.5%;            /* ← FULLSCREEN BUTTON horizontal position (% of vista) */
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--claret);
    border-radius: 50%;
    /* Fixed equal dimensions for perfect circle */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--claret);
    z-index: 30; /* Higher than camera overlay */
}

/* Button Hover Effects */
.play-pause-btn:hover {
    background: var(--claret);
    color: white;
    transform: scale(1.1);
}

.mute-btn:hover {
    background: var(--claret);
    color: white;
    transform: scale(1.1);
}

.fullscreen-btn:hover {
    background: var(--claret);
    color: white;
    transform: scale(1.1);
}

/* Pulsing animation for inactive buttons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(113, 30, 48, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(113, 30, 48, 0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.button-pulse {
    animation: pulse 2s infinite;
}

/* Cloud Divider Styles */
.cloud-divider {
    width: 100%;
    height: 100px;
    position: relative;
    overflow: hidden;
}

.cloud-divider-top {
    margin-bottom: -30px; /* Overlap with vista */
    z-index: 5;
}

.cloud-divider-bottom {
    margin-top: -30px; /* Overlap with vista */
    z-index: 5;
}

.cloud-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Mobile responsive sizing for camera overlay buttons */
@media (max-width: 768px) {
    .play-pause-btn,
    .mute-btn,
    .fullscreen-btn {
        width: 20px !important;
        height: 20px !important;
    }
    
    .play-pause-btn .w-5,
    .mute-btn .w-5,
    .fullscreen-btn .w-5 {
        width: 0.75rem !important;
        height: 0.75rem !important;
    }
}