/* Portfólio Equalize Produções - Estilo Detalhista com Fundo Branco, Azul e Azul Escuro */

* {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Marca d'água */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
    pointer-events: none;
    opacity: 0.03;
    font-size: 8rem;
    font-weight: bold;
    color: #1fb6d3;
}

.watermark img {
    width: 300px;
    height: auto;
    opacity: 0.05;
    filter: grayscale(100%);
}

/* Navigation Styles */
.nav-link {
    @apply text-equalize-dark hover:text-equalize-blue transition-all duration-300 font-semibold text-sm uppercase tracking-wide;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(31, 182, 211, 0.1), rgba(31, 182, 211, 0.2));
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, #1fb6d3, #0a1a2a);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Animation Effects */
.animate-fade-in {
    animation: fadeInUp 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Product Image Containers */
.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(31, 182, 211, 0.2);
}

.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(31, 182, 211, 0.1) 50%, transparent 51%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-image-container:hover::before {
    opacity: 1;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 1rem;
}

.product-image-container:hover img {
    transform: scale(1.05);
}

/* Seções com Gradientes */
section {
    position: relative;
    z-index: 2;
}

/* Backgrounds Detalhistas */
.bg-detail-white {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
}

.bg-detail-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(31, 182, 211, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(10, 26, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Cards com Sombras Detalhadas */
.shadow-detail {
    box-shadow: 
        0 4px 6px rgba(31, 182, 211, 0.1),
        0 2px 4px rgba(10, 26, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.shadow-detail:hover {
    box-shadow: 
        0 20px 25px rgba(31, 182, 211, 0.15),
        0 10px 10px rgba(10, 26, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
}

/* Efeitos de Borda Detalhista */
.border-detail {
    border: 2px solid;
    border-image: linear-gradient(45deg, #1fb6d3, #0a1a2a, #1fb6d3) 1;
    position: relative;
}

.border-detail::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #1fb6d3, #0a1a2a, #1fb6d3);
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.border-detail:hover::before {
    opacity: 0.3;
}

/* Títulos com Efeitos */
h1, h2, h3, h4, h5, h6 {
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, #0a1a2a 0%, #1fb6d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Ícones com Animação */
.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Listas Estilizadas */
ul li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

ul li:hover {
    transform: translateX(5px);
    color: #1fb6d3;
}

ul li i {
    transition: all 0.3s ease;
}

ul li:hover i {
    transform: scale(1.2);
    text-shadow: 0 2px 4px rgba(31, 182, 211, 0.3);
}

/* Gradientes de Fundo para Seções */
.bg-gradient-detail-1 {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        rgba(31, 182, 211, 0.05) 25%, 
        #ffffff 50%, 
        rgba(10, 26, 42, 0.05) 75%, 
        #ffffff 100%);
}

.bg-gradient-detail-2 {
    background: linear-gradient(135deg, 
        #0a1a2a 0%, 
        #1fb6d3 50%, 
        #1e3a8a 100%);
}

/* Efeitos de Hover em Cards */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(31, 182, 211, 0.25),
        0 0 0 1px rgba(31, 182, 211, 0.1);
}

/* Animações de Entrada */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Efeitos de Texto */
.text-shadow-detail {
    text-shadow: 
        2px 2px 4px rgba(10, 26, 42, 0.3),
        0 0 10px rgba(31, 182, 211, 0.2);
}

/* Responsividade Detalhada */
@media (max-width: 1024px) {
    .watermark {
        font-size: 6rem;
    }
    
    .watermark img {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .watermark {
        font-size: 4rem;
    }
    
    .watermark img {
        width: 150px;
    }
    
    .product-image-container {
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 3rem !important;
    }
    
    h2 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 640px) {
    .watermark img {
        width: 100px;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Efeitos Especiais para o Footer */
footer {
    position: relative;
    background: linear-gradient(135deg, #0a1a2a 0%, #1fb6d3 100%);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f8fafc, #e2e8f0);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1fb6d3, #0a1a2a);
    border-radius: 6px;
    border: 2px solid #f8fafc;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0a1a2a, #1fb6d3);
}

/* Animações de Loading */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(31, 182, 211, 0.2) 50%, 
        rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* Efeitos de Profundidade */
.depth-1 {
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24);
}

.depth-2 {
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
}

.depth-3 {
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.19),
        0 6px 6px rgba(0, 0, 0, 0.23);
}

/* Estados de Focus */
*:focus {
    outline: 2px solid #1fb6d3;
    outline-offset: 2px;
}