/* ============================================
   Main CSS Import File
   IT Company Profile
   ============================================ */

/* ===== BASE ===== */
@import url('./base/variables.css');
@import url('./base/reset.css');
@import url('./base/typography.css');

/* ===== LAYOUTS ===== */
@import url('./layouts/sections.css');

/* ===== COMPONENTS ===== */
@import url('./components/navbar.css');
@import url('./components/footer.css');
@import url('./components/buttons.css');
@import url('./components/cards.css');
@import url('./components/forms.css');

/* ===== PAGES ===== */
@import url('./pages/home.css');
@import url('./pages/about.css');
@import url('./pages/services.css');
@import url('./pages/portfolio.css');
@import url('./pages/blog.css');
@import url('./pages/contact.css');

/* ============================================
   GLOBAL UTILITIES & ANIMATIONS
   ============================================ */

/* ========== ANIMATION KEYFRAMES ========== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

@keyframes fadeInDown {
    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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========== ANIMATION CLASSES ========== */

.animate-fade-in {
    animation: fadeIn 0.6s var(--ease-out) forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s var(--ease-out) forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s var(--ease-out) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s var(--ease-out) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s var(--ease-out) forwards;
}

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

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Scroll reveal - hidden by default */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-100 {
    animation-delay: 100ms;
    transition-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
    transition-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
    transition-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
    transition-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
    transition-delay: 500ms;
}

/* ========== VISIBILITY UTILITIES ========== */

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden;
}

.visible {
    visibility: visible;
}

/* Hide on mobile */
@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* Hide on desktop */
@media (min-width: 768px) {
    .hidden-desktop {
        display: none !important;
    }
}

/* ========== ASPECT RATIO ========== */

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-portrait {
    aspect-ratio: 3 / 4;
}

/* ========== OBJECT FIT ========== */

.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* ========== OVERFLOW ========== */

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

/* ========== POSITION ========== */

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

/* ========== WIDTH & HEIGHT ========== */

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

/* ========== BORDERS ========== */

.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-2xl {
    border-radius: var(--radius-2xl);
}

.rounded-full {
    border-radius: var(--radius-full);
}

.border {
    border: 1px solid var(--border-color);
}

/* ========== BACKGROUNDS ========== */

.bg-primary {
    background-color: var(--bg-primary);
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.bg-card {
    background-color: var(--bg-card);
}

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

/* ========== SHADOWS ========== */

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

/* ========== CURSOR ========== */

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

/* ========== SELECTION ========== */

.select-none {
    user-select: none;
}

/* ========== POINTER EVENTS ========== */

.pointer-events-none {
    pointer-events: none;
}

/* ========== TRANSITION ========== */

.transition {
    transition: all var(--transition-base);
}

.transition-fast {
    transition: all var(--transition-fast);
}

.transition-slow {
    transition: all var(--transition-slow);
}

/* ========== TRANSFORM ========== */

.hover-lift:hover {
    transform: translateY(-4px);
}

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

/* ========== Z-INDEX ========== */

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}