@tailwind base;
@tailwind components;
@tailwind utilities;

/* Classes específicas usadas no tema */
.container {
    @apply max-w-7xl mx-auto;
}

.btn-hover-animation {
    @apply transition-all duration-300 relative overflow-hidden;
}

.btn-hover-animation:hover {
    @apply translate-y-[-3px] shadow-xl;
}

.btn-hover-animation:after {
    content: "";
    @apply absolute top-0 left-[-100%] w-full h-full bg-gradient-to-r from-transparent via-white/20 to-transparent transition-all duration-500;
}

.btn-hover-animation:hover:after {
    @apply left-full;
}

.nav-link {
    @apply relative;
}

.nav-link:after {
    content: '';
    @apply absolute w-0 h-[2px] bottom-[-2px] left-0 bg-primary transition-all duration-300;
}

.nav-link:hover:after {
    @apply w-full;
}

.text-primary { @apply text-[var(--primary)]; }
.bg-primary { @apply bg-[var(--primary)]; }
.bg-secondary { @apply bg-[var(--secondary)]; }
.bg-alt { @apply bg-[var(--bg-alt)]; }
.text-main { @apply text-[var(--text)]; }
.text-light { @apply text-[var(--text-light)]; }

.text-xxl {
    @apply text-5xl md:text-6xl leading-tight;
}

@media (max-width: 768px) {
    .text-xxl { @apply text-4xl; }
}

@media (max-width: 480px) {
    .text-xxl { @apply text-3xl; }
}

/* Outras classes comuns usadas no tema */
@layer utilities {
    .py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:py-32 { @media (min-width: 768px) { padding-top: 8rem; padding-bottom: 8rem; } }
    .px-4 { padding-left: 1rem; padding-right: 1rem; }
    .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
    .flex { display: flex; }
    .items-center { align-items: center; }
    .justify-between { justify-content: space-between; }
    .space-x-8 > * + * { margin-left: 2rem; }
    .grid { display: grid; }
    .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .md\:grid-cols-2 { @media (min-width: 768px) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    .lg\:grid-cols-3 { @media (min-width: 1024px) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
    .gap-8 { gap: 2rem; }
    .rounded-lg { border-radius: 0.5rem; }
    .shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
    .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
    .transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
    .hover\:scale-110:hover { transform: scale(1.1); }
    .animate__animated { animation-duration: 1s; animation-fill-mode: both; }
    .animate__fadeInDown { animation-name: fadeInDown; }
    .animate__pulse { animation-name: pulse; }
    .animate__infinite { animation-iteration-count: infinite; }
    .animate__slower { animation-duration: 3s; }
}