/*
Theme Name: Zee You Portfolio
Theme URI: https://example.com/zee-you
Author: Antigravity
Author URI: https://example.com
Description: A modern, high-performance portfolio theme converted from Zee YoU static design. Features Tailwind CSS (via CDN) and custom animations.
Version: 1.0.0
Text Domain: zeeyou
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Black+Han+Sans&display=swap');

:root {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f7; /* Light Theme Background */
    color: #1f2937; /* Dark text for readability */
    overflow-x: hidden;
}
/* Custom Scrollbar for aesthetics */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e0e0e0; /* Light scroll track */
}
::-webkit-scrollbar-thumb {
    background: #9ca3af; /* Medium gray scroll thumb */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* --- SPLASH SCREEN ANIMATION --- */
@keyframes pulse-slow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}
.animate-pulse-slow {
    animation: pulse-slow 2s ease-in-out infinite;
}

/* --- LOGO STYLING (UPDATED FONT) --- */
.logo-text {
    /* Apply the urban/heavy style font */
    font-family: 'Black Han Sans', sans-serif; 
    /* Removed explicit color: Let Tailwind control the color via classes */
    transition: color 0.3s;
    display: inline-block;
}

/* --- TYPING ANIMATION CSS --- */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 0.15em;
    /* Updated to use primary purple for consistency */
    background-color: #763bda; 
    vertical-align: middle;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

/* --- Continuous Button Wave Animation (Hero Buttons) --- */
/* New Keyframes for a more appealing continuous animation */
@keyframes border-wave {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0px rgba(118, 59, 218, 0.4); /* Primary Purple */
    }
    50% {
        transform: scale(1.015);
        box-shadow: 0 0 10px 5px rgba(118, 59, 218, 0.6), 0 0 20px 10px rgba(230, 55, 140, 0.2); /* Purple and Pink */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0px rgba(118, 59, 218, 0.4);
    }
}

/* Apply the new wave animation */
.btn-wave {
    animation: border-wave 3s ease-in-out infinite; 
    transition: background-color 0.3s, transform 0.3s;
}

/* --- Service Icon Continuous Animation (NEW) --- */
@keyframes breath-scale {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}
.animate-breath-scale {
    animation: breath-scale 4s ease-in-out infinite alternate;
}

/* --- AI Creations Card Continuous Animation (NEW) --- */
@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.animate-card-float {
    animation: card-float 6s ease-in-out infinite alternate;
}

/* --- Custom Gradient Button Style --- */
.btn-gradient {
    background-image: linear-gradient(to right, #763bda, #e6378c); /* Purple to Pink */
}
.btn-gradient:hover {
    background-image: linear-gradient(to right, #8b5fd8, #f0549c);
}

/* General button icon styling */
.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Spacing between text and icon */
}
.btn-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* --- BASE ANIMATION SETUP (for unique transitions) --- */
.animate-base {
    opacity: 0;
    transform: translateY(40px); /* Default slide up for individual cards */
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease-out;
    will-change: opacity, transform, filter;
}

/* Final state when element is visible */
.animate-base.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* --- STAGGERED ITEM ANIMATION (FOR CARD CONTENT) --- */
.staggered-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

/* Apply transform and opacity when card is visible */
.animate-base.is-visible .staggered-item {
    opacity: 1;
    transform: translateY(0);
}


/* --- UNIQUE SECTION STARTING STATES (Initial styles before transition) --- */
/* HERO SECTION */
.slide-up-rotate { transform: translateY(60px) rotateX(2deg); }

/* CONTACT SECTION (Left Slide) */
.slide-in-left { transform: translateX(-150px); }

/* AI CREATIONS SECTION (Scale Up Blur) - NEW UNIQUE ANIMATION */
.scale-up-blur { transform: scale(0.85); filter: blur(8px); } /* Retained for the main AI heading block */

/* SERVICES SECTION (Unique Reveal) */
.slide-rotate-in { 
    transform: translateY(40px) rotateX(-5deg) scale(0.9); 
    transform-origin: top center;
    opacity: 0;
}

/* HOSTING AD SECTION (3D Reveal) */
@keyframes ad-reveal-3d {
    0% { opacity: 0; transform: translateY(100px) rotateX(5deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg); }
}
.ad-reveal-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: ad-reveal-3d 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hosting-card-initial {
     opacity: 0;
     transform: translateY(100px) rotateX(5deg);
}

/* --- ANIMATION FOR HERO ICON (NEW: Ominous Pulse) --- */
@keyframes ominous-pulse {
    0% {
        transform: scale(1);
        /* Dark color for stroke and inner lines */
        stroke: #1f2937;
        fill: #1f2937;
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        /* Slight purple hint on pulse */
        stroke: #763bda; 
        fill: #763bda;
        opacity: 1;
    }
    100% {
        transform: scale(1);
        stroke: #1f2937;
        fill: #1f2937;
        opacity: 0.9;
    }
}
.animate-ominous {
    animation: ominous-pulse 5s ease-in-out infinite alternate;
}

/* Custom Background Pattern for Hero Section */
.hero-bg {
    background-color: #ffffff;
    /* Updated radial gradients to reflect new purple and pink */
    background-image: radial-gradient(at 10% 10%, #763bda33, transparent 50%), 
                      radial-gradient(at 90% 90%, #e6378c33, transparent 50%),
                      url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.1'%3E%3Ccircle cx='50' cy='50' r='1.5' fill='%236B7280'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, cover, 10px 10px;
    position: relative;
}

/* --- Animated Nav List Item Hover (NEW: Rounded Box) --- */
.nav-link {
    transition: all 0.3s ease-in-out, background-color 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 9999px;
    transform-origin: center;
}
.nav-link:hover {
    transform: scale(1.05); 
    background-color: #763bda22; /* Use the new primary purple with transparency */
    color: #763bda; /* Use the new primary purple */
}
.nav-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}
.mobile-nav-link {
    transition: background-color 0.3s;
}

/* --- Scroll to Top Button Style --- */
#scroll-to-top {
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(100%);
    z-index: 50; 
}
#scroll-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- AI Creation Specific Styles (Matching Reference Image) --- */
/* Enable 3D transformations for the container elements */
.ai-grid-container {
    perspective: 1200px;
}

.ai-media-card {
    min-height: 250px;
    color: white; /* Text is white on colored background */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); /* Smoother transition for 3D */
    transform-style: preserve-3d; /* Required for child 3D transforms */
    will-change: transform, box-shadow; /* Optimize performance */
}

/* NEW APPEALING HOVER EFFECT */
.ai-media-card:hover {
    /* 3D Tilt Effect */
    transform: scale(1.03) rotateX(1deg) rotateY(1deg) translateZ(10px); 
    
    /* Enhanced Shadow using both primary colors for visual depth */
    box-shadow: 
        0 10px 30px rgba(118, 59, 218, 0.3), /* Primary Purple glow */
        0 0 15px rgba(230, 55, 140, 0.5),  /* Primary Pink pulse */
        0 0 5px rgba(0, 0, 0, 0.2); 
}
