/* Custom CSS for Tattoos by Johny */

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;
    
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
}

/* Tailwind Custom Colors */
@layer base {
    html {
        scroll-behavior: smooth;
    }
    
    body {
        font-family: 'Outfit', sans-serif;
    }
    
    .font-playfair {
        font-family: 'Playfair Display', serif;
    }
    
    .font-outfit {
        font-family: 'Outfit', sans-serif;
    }
}

/* Custom Color Classes */
.text-plum-900 { color: var(--plum-900); }
.text-plum-800 { color: var(--plum-800); }
.text-plum-700 { color: var(--plum-700); }
.text-plum-600 { color: var(--plum-600); }
.text-plum-500 { color: var(--plum-500); }
.text-plum-300 { color: var(--plum-300); }
.text-plum-200 { color: var(--plum-200); }
.text-plum-100 { color: var(--plum-100); }

.bg-plum-900 { background-color: var(--plum-900); }
.bg-plum-800 { background-color: var(--plum-800); }
.bg-plum-700 { background-color: var(--plum-700); }
.bg-plum-200 { background-color: var(--plum-200); }
.bg-plum-100 { background-color: var(--plum-100); }

.text-amber-400 { color: var(--amber-400); }
.text-amber-600 { color: var(--amber-600); }
.bg-amber-500 { background-color: var(--amber-500); }
.bg-amber-400 { background-color: var(--amber-400); }
.bg-amber-50 { background-color: #fffbeb; }

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.05;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: var(--amber-400);
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--plum-400);
    border-radius: 50%;
    bottom: 20%;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid var(--amber-400);
    top: 60%;
    right: 10%;
    animation: rotate 20s linear infinite;
}

.shape-square {
    width: 120px;
    height: 120px;
    background: var(--plum-400);
    top: 30%;
    left: 5%;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--amber-400) 2px, transparent 2px);
    background-size: 20px 20px;
    bottom: 10%;
    right: 5%;
    opacity: 0.1;
}

/* Hero Pattern */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(251, 191, 36, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
}

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

@keyframes float-delay {
    0%, 100% {
        transform: translateY(0px) rotate(45deg);
    }
    50% {
        transform: translateY(-15px) rotate(45deg);
    }
}

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

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

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

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar Styles */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Menu Lines Animation */
.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--plum-50);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-400);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}
