/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #030303 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    text-align: center;
}

/* Animated Hazard Stripe */
.hazard-stripe {
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        45deg,
        #FFCC00,
        #FFCC00 20px,
        #000000 20px,
        #000000 40px
    );
    animation: slideStripes 2s linear infinite;
}

@keyframes slideStripes {
    0% { background-position: 0 0; }
    100% { background-position: 56px 0; }
}

/* Header / Logo */
header {
    margin-top: 4vh;
}

.logo-container img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(255, 204, 0, 0.4)); 
}

/* Main Centerpiece */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 0 20px;
}

/* Gear Animation Container */
.gear-container {
    margin-bottom: 20px;
    animation: roam 4s ease-in-out infinite alternate;
}

.gear {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.6));
    animation: spin 6s linear infinite;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #FFCC00;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
    margin-bottom: 15px;
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

/* Updated Subtitle: White, slightly smaller, bold */
p.subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
    max-width: 650px;
    line-height: 1.6;
    min-height: 30px;
}

.cursor {
    color: #ffffff;
    font-weight: bold;
    animation: blink 1s infinite;
}

/* Updated Action Text: Big, bold, mechanical font, yellow */
p.action-text {
    margin-top: 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #FFCC00;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 3s ease-in;
}

/* Animations */
@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes roam {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-15px) scale(1.05); }
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 10px rgba(255, 204, 0, 0.4); }
    100% { text-shadow: 0 0 30px rgba(255, 204, 0, 0.8), 0 0 40px rgba(255, 204, 0, 0.4); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    70% { opacity: 0; } /* Delays the fade-in slightly */
    100% { opacity: 1; }
}

/* Classy Modern Contact Bar */
footer {
    margin-bottom: 4vh;
    width: 95%;
    max-width: 800px;
}

.modern-contact-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.contact-text span {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: #FFCC00;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.contact-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 15px;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #FFCC00 0%, #d4a800 100%);
    color: #000000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.floating-call-btn svg {
    width: 20px;
    height: 20px;
}

.floating-call-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 204, 0, 0.7);
    border: 2px solid #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 850px) {
    .modern-contact-bar {
        padding: 15px 10px;
    }
    .contact-card {
        gap: 8px;
    }
    .contact-card svg {
        width: 18px;
        height: 18px;
    }
    .contact-text span {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    .contact-text p {
        font-size: 0.75rem; 
    }
    .contact-divider {
        height: 35px;
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.3rem; }
    p.subtitle { font-size: 0.95rem; }
    p.action-text { font-size: 1.1rem; margin-top: 15px; }
    .logo-container img { max-width: 180px; }
    
    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    .floating-call-btn svg {
        width: 18px;
        height: 18px;
    }
}