/*
==================================================
KONZAFLOW HYBRID HERO - MINIMAL CSS
Uses Bootstrap 5 for most styling
Only custom styles for device mockups and annotations
==================================================
*/

/* Konza Green Color */
:root {
    --konza-green: #007a37;
    --konza-green-dark: #005a2a;
}

/* Override Bootstrap primary with Konza green */
.btn-success {
    background-color: var(--konza-green);
    border-color: var(--konza-green);
}

.btn-success:hover {
    background-color: var(--konza-green-dark);
    border-color: var(--konza-green-dark);
}

.btn-outline-primary {
    border-color: var(--konza-green);
    color: var(--konza-green);
}

.btn-outline-primary:hover {
    background-color: var(--konza-green);
    border-color: var(--konza-green);
    color: white;
}

.text-success {
    color: var(--konza-green) !important;
}

/* Full height layout - no scroll */
html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

/* Laptop Mockup */
.laptop-mockup {
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
    max-width: 100%;
}

.laptop-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Mobile Mockup (Overlapping) */
.mobile-mockup {
    bottom: -20px;
    right: -30px;
    width: 35%;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
    z-index: 10;
}

.mobile-mockup:hover {
    transform: rotate(0deg) scale(1.05);
}

/* Feature Callouts / Annotations */
.feature-callout {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 15;
    opacity: 0;
    animation: fadeInCallout 0.6s ease-out forwards;
    pointer-events: none;
}

.callout-number {
    background: linear-gradient(135deg, var(--konza-green), var(--konza-green-dark));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.callout-text {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

/* Arrow connectors */
.feature-callout::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 30px;
    background-color: var(--konza-green);
}

/* Callout Positioning */
.callout-1 {
    top: 15%;
    right: -180px;
    animation-delay: 0.3s;
}

.callout-1::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: right;
}

.callout-2 {
    top: 45%;
    right: -170px;
    animation-delay: 0.6s;
}

.callout-2::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.callout-3 {
    bottom: 25%;
    right: -180px;
    animation-delay: 0.9s;
}

.callout-3::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    transform-origin: right;
}

.callout-4 {
    bottom: 10%;
    right: -200px;
    animation-delay: 1.2s;
}

.callout-4::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%) rotate(-60deg);
    transform-origin: right;
}

.callout-mobile {
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}

.callout-mobile::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    transform-origin: bottom;
}

@keyframes fadeInCallout {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive: Hide callouts on mobile */
@media (max-width: 991px) {
    .feature-callout {
        display: none;
    }
    
    .laptop-mockup {
        transform: rotate(0deg);
    }
    
    .mobile-mockup {
        display: none;
    }
}

/* Mobile: Adjust headline size */
@media (max-width: 767px) {
    .display-3 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1rem;
    }
}
