/* logo.css - MindTech Logo Integration & Variations */

/* Updated Color Variables Based on Logo */
:root {
    /* Primary Logo Colors */
    --logo-sage: #8FA68E;
    --logo-cream: #F5F0E6;
    --logo-deep-olive: #7C8C7B;
    
    /* Gradient Variations */
    --gradient-sage: linear-gradient(135deg, #93A392 0%, #7C8C7B 100%);
    --gradient-olive: linear-gradient(135deg, #8FA68E 0%, #6B7B6A 100%);
    --gradient-warm: linear-gradient(135deg, #FAF8F3 0%, #F5F0E6 100%);
    
    /* Updated Brand Colors to Match Logo */
    --olive: #7C8C7B;
    --sage: #8FA68E;
    --light-sage: #E8EDE5;
    --cream: #F5F0E6;
    --warm-white: #FAF8F3;
    --deep-olive: #6B7B6A;
    --neutral-brown: #8B7355;
    --soft-gray: #E5E5E3;
    --text-dark: #2C3A2E;
    --text-light: #6B7A6D;
}

/* Logo Container Styles */
.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-2px);
}

/* Logo Image Styles */
.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-olive);
    letter-spacing: 1px;
}

/* Navigation Logo */
nav .logo-container {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

nav .logo-img {
    width: 40px;
    height: 40px;
}

nav .logo-text {
    font-size: 1.2rem;
    display: none; /* Hide text in nav on mobile */
}

/* Footer Logo */
.footer-brand .logo-container {
    margin-bottom: 20px;
}

.footer-brand .logo-img {
    width: 60px;
    height: 60px;
}

/* Logo Variations for Different Backgrounds */

/* Default - Sage on Light */
.logo-default {
    filter: none;
}

/* White Version for Dark Backgrounds */
.logo-white {
    filter: brightness(0) invert(1);
}

/* Darker Version for Very Light Backgrounds */
.logo-dark {
    filter: brightness(0.3) sepia(1) hue-rotate(60deg);
}

/* Gold/Premium Version */
.logo-gold {
    filter: sepia(1) saturate(2) hue-rotate(30deg) brightness(1.2);
}

/* Animated Logo for Loading Screen */
.loading-logo {
    width: 80px;
    height: 80px;
    animation: logoBreath 2s ease-in-out infinite;
}

@keyframes logoBreath {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Hero Section Logo Integration */
.hero-logo {
    position: absolute;
    top: 100px;
    left: 40px;
    z-index: 10;
}

.hero-logo .logo-img {
    width: 60px;
    height: 60px;
}

/* Logo with Gradient Background - Fixed */
.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: transparent; /* Remove white background */
    border-radius: 50%;
    padding: 0;
    transition: all 0.3s ease;
}

.logo-badge:hover {
    transform: scale(1.05);
}

.logo-badge .logo-img {
    width: 100%;
    height: 100%;
    filter: none; /* Show original colors */
    object-fit: contain;
}

/* Responsive Logo Adjustments */
@media (min-width: 768px) {
    nav .logo-text {
        display: inline;
    }
}

@media (max-width: 768px) {
    nav .logo-container {
        left: 20px;
    }
    
    .hero-logo {
        top: 80px;
        left: 20px;
    }
    
    .hero-logo .logo-img {
        width: 45px;
        height: 45px;
    }
}

/* Logo Animation Classes */
.logo-float {
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo-rotate {
    animation: rotateLogo 20s linear infinite;
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Success State Logo */
.success-logo {
    background: linear-gradient(135deg, #8FA68E, #7C8C7B);
    border-radius: 50%;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.success-logo img {
    filter: brightness(0) invert(1);
}

/* Loading Screen with Logo */
.loading-screen-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loading-screen-logo .logo-img {
    width: 100px;
    height: 100px;
    animation: logoBreath 2s ease-in-out infinite;
}

.loading-screen-logo .loading-text {
    color: var(--sage);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Top Left Circular Logo */
.logo-container {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.logo-circle {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 20px 8px 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(124, 132, 113, 0.25);
    border: 2px solid var(--sage);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(124, 132, 113, 0.2);
    border-color: var(--sage);
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sage);
    transition: all 0.3s ease;
}

.logo-circle:hover .logo-image {
    transform: scale(1.1);
    border-color: var(--olive);
}

.logo-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-olive);
    letter-spacing: 0.5px;
    line-height: 1;
}

.brand-tagline {
    font-family: Georgia, serif;
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .logo-container {
        display: none; /* Hide the normal floating logo on mobile */
    }
}

/* Very small screens - compact version */
@media (max-width: 480px) {
    .logo-container {
        display: none; /* Keep hidden on very small screens too */
    }
}