/* Stratoware LLC Website Styles */
/* Copyright (c) 2025 Stratoware LLC. All rights reserved. */

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: rgba(0, 0, 0, 0.7);
    --glass-bg: rgba(0, 0, 0, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --accent-color: #4a9eff;
    --transition-speed: 0.3s;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Background ===== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/12E9A1BE-E7AE-4196-A6A1-FC5A7A065D8E_1_105_c.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

/* ===== Glass Panel Effect ===== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== Main Content ===== */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    padding: 20px;
}

/* ===== Center Panel ===== */
.center-panel {
    padding: 60px 80px;
    text-align: center;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

.stratoware-text {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    animation: float 6s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

/* Ripple effect overlay */
.stratoware-text::before {
    content: 'STRATOWARE';
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 1) 50%,
        transparent 60%,
        transparent 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 200% 100%;
    background-position: 150% 0%;
    animation: ripple 5s linear infinite;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin: 0;
}

/* ===== Contact Button ===== */
.contact-button-container {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 100;
    animation: fadeInLeft 1s ease-out 0.5s both;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
    font-family: inherit;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(74, 158, 255, 0.3);
    border-color: var(--accent-color);
}

.contact-button i {
    font-size: 1.2rem;
}

/* ===== Clients Button ===== */
.clients-button-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.clients-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
    font-family: inherit;
}

.clients-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(74, 158, 255, 0.3);
    border-color: var(--accent-color);
}

.clients-button i {
    font-size: 1.2rem;
}

/* ===== Language Selector ===== */
.language-selector-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    display: flex;
    gap: 12px;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.language-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 10px;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
    font-family: inherit;
    min-width: 50px;
}

.language-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(74, 158, 255, 0.3);
    border-color: var(--accent-color);
}

.language-button.active {
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px rgba(74, 158, 255, 0.4);
}

.lang-code {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-flag {
    font-size: 1.5rem;
    line-height: 1;
}

/* ===== Contact Panel ===== */
.contact-panel {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 400px;
    max-width: calc(100vw - 80px);
    padding: 30px;
    z-index: 200;
    transform: translateX(-500px);
    opacity: 0;
    transition: all var(--transition-speed) ease;
}

.contact-panel.active {
    transform: translateX(0);
    opacity: 1;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-info {
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: background var(--transition-speed) ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 4px;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-details label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    word-break: break-all;
}

.contact-link:hover {
    color: var(--accent-color);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--accent-color);
}

/* ===== Login Panel ===== */
.login-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 400px;
    max-width: calc(100vw - 80px);
    padding: 40px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.login-panel.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.login-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-speed) ease;
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.login-submit-button {
    width: 100%;
    padding: 14px 24px;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-family: inherit;
    margin-top: 10px;
}

.login-submit-button:hover {
    background: #3a8ef0;
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.4);
    transform: translateY(-2px);
}

.login-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    text-align: center;
}

/* ===== Overlay ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes ripple {
    0% {
        background-position: 150% 0%;
    }
    20% {
        background-position: -50% 0%;
    }
    20.01%, 100% {
        background-position: 150% 0%;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .center-panel {
        padding: 40px 30px;
        max-width: 90%;
    }
    
    .logo {
        max-width: 280px;
    }
    
    .stratoware-text {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .contact-button-container {
        bottom: 20px;
        left: 20px;
    }
    
    .contact-button {
        padding: 14px 22px;
        font-size: 0.9rem;
    }
    
    .clients-button-container {
        bottom: 20px;
    }
    
    .clients-button {
        padding: 14px 22px;
        font-size: 0.9rem;
    }
    
    .language-selector-container {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .language-button {
        padding: 10px 8px;
        min-width: 45px;
    }
    
    .login-panel {
        width: calc(100vw - 40px);
        padding: 30px 24px;
    }
    
    .contact-panel {
        bottom: 20px;
        left: 20px;
        width: calc(100vw - 40px);
        padding: 24px;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .center-panel {
        padding: 30px 20px;
    }
    
    .logo {
        max-width: 220px;
    }
    
    .stratoware-text {
        font-size: 1.5rem;
        letter-spacing: 0.15em;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .contact-button span {
        display: none;
    }
    
    .contact-button {
        padding: 14px;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }
    
    .clients-button span {
        display: none;
    }
    
    .clients-button {
        padding: 14px;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }
    
    .language-selector-container {
        flex-direction: column;
        gap: 6px;
    }
    
    .language-button {
        padding: 8px 6px;
        min-width: 40px;
    }
    
    .lang-flag {
        font-size: 1.2rem;
    }
    
    .login-panel {
        width: calc(100vw - 30px);
        padding: 24px 20px;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
}

/* ===== Three.js Canvas (for future 3D rendering) ===== */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

