/* Custom styles for Straight Lines and Straitjackets Tattoo Artistry */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base font setup */
body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 2px solid #fbbf24;
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: #fbbf24;
    border-radius: 50%;
    bottom: 15%;
    right: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    border: 2px solid #ec4899;
    top: 25%;
    right: 15%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(251, 191, 36, 0.3);
    top: 60%;
    left: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-line-1 {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    top: 40%;
    right: 0;
    transform: rotate(-15deg);
    animation: slide-line 12s ease-in-out infinite;
}

.geo-line-2 {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ec4899, transparent);
    bottom: 30%;
    left: 5%;
    transform: rotate(10deg);
    animation: slide-line 10s ease-in-out infinite reverse;
}

.geo-dots {
    background-image: radial-gradient(circle, #fbbf24 1px, transparent 1px);
    background-size: 30px 30px;
    width: 300px;
    height: 300px;
    top: 5%;
    right: 20%;
    opacity: 0.15;
    animation: float-slow 25s ease-in-out infinite;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

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

@keyframes slide-line {
    0%, 100% { opacity: 0.3; transform: rotate(-15deg) translateX(0); }
    50% { opacity: 0.8; transform: rotate(-15deg) translateX(30px); }
}

/* Service cards */
.service-card {
    will-change: transform;
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}

/* Scroll reveal base state (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(80, 7, 36, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #500724;
}
::-webkit-scrollbar-thumb {
    background: #9d174d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #be185d;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #500724;
}
