/* Atlantis Digital - Custom Styles */

:root {
    /* Cores principais da Atlantis */
    --atlantis-primary: #4D94FF;
    --atlantis-primary-dark: #3366CC;
    --atlantis-primary-light: #80B3FF;
    --atlantis-secondary: #F8F9FA;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #4D94FF, #80B3FF);
    --gradient-hero: linear-gradient(135deg, #4D94FF 0%, #3366CC 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(77, 148, 255, 0.95), rgba(51, 102, 204, 0.9));
    
    /* Sombras */
    --shadow-primary: 0 10px 30px -10px rgba(77, 148, 255, 0.3);
    --shadow-card: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(128, 179, 255, 0.4);
    
    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Fonte personalizada */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
}

/* Cores personalizadas Bootstrap */
.bg-atlantis {
    background: var(--gradient-primary) !important;
}

.text-atlantis {
    color: var(--atlantis-primary) !important;
}

.border-atlantis {
    border-color: var(--atlantis-primary) !important;
}

/* Botões personalizados */
.btn-atlantis {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-primary);
}

.btn-atlantis:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-atlantis:active {
    transform: translateY(0) scale(0.98);
}

/* Header personalizado */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: var(--transition-smooth);
}

.navbar-brand img {
    transition: var(--transition-smooth);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: #6c757d !important;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover {
    color: var(--atlantis-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background-image: url('src/assets/hero-tech-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-overlay {
    background: var(--gradient-overlay);
}

.hero-title {
    font-size: 3.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
}

/* Text gradient removido - duplicata */

/* Cards personalizados */
.card-atlantis {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px -4px rgba(79, 145, 205, 0.1);
    transition: var(--transition-smooth);
    background: white;
}

.card-atlantis:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-primary);
}

/* Ícones personalizados */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.card-atlantis:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

/* Tecnologias */
.tech-card {
    transition: var(--transition-smooth);
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
}

/* Elementos flutuantes */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element-1 {
    width: 80px;
    height: 80px;
    top: 25%;
    left: 10%;
}

.floating-element-2 {
    width: 64px;
    height: 64px;
    top: 33%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element-3 {
    width: 48px;
    height: 48px;
    bottom: 25%;
    left: 25%;
    animation-delay: 4s;
}

/* WhatsApp Button */
.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366 !important;
    border: none;
    animation: pulse-slow 3s infinite;
    transition: var(--transition-smooth);
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128C7E !important;
}

.whatsapp-tooltip {
    max-width: 280px;
    animation: fadeInUp 0.3s ease-out;
}

/* Formulário personalizado */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--atlantis-primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 145, 205, 0.25);
}

/* Animações */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Classes Atlantis para gradientes */
.bg-gradient-atlantis {
    background: var(--gradient-primary);
}

.bg-gradient-overlay {
    background: var(--gradient-overlay);
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Utilitários */
.hover-text-white:hover {
    color: white !important;
}

.border-white-25 {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .whatsapp-tooltip {
        max-width: 250px;
        margin-right: 1rem;
    }
    
    .floating-element {
        display: none;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Estados de foco para acessibilidade */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--atlantis-primary);
    outline-offset: 2px;
}

/* Loading states */
.btn-atlantis:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

/* Success states */
.form-success {
    border-color: #28a745 !important;
    background-color: rgba(40, 167, 69, 0.1);
}

.alert-success-custom {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}