/* Custom Styles for Manipulations Tattoos and Piercings */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    background: rgba(250, 248, 245, 0.9);
    backdrop-blur: 20px;
    border-bottom: 1px solid rgba(10, 22, 40, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.98);
    box-shadow: 0 4px 30px rgba(10, 22, 40, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a832, #e6be4c);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
}

.hero-bg {
    position: relative;
}

.hero-bg img {
    filter: brightness(0.7);
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stat {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stat:nth-child(2) {
    animation-delay: 0.9s;
}

.hero-stat:nth-child(3) {
    animation-delay: 1s;
}

/* Decorative Elements */
.hero-decor {
    animation: float 6s ease-in-out infinite;
}

.hero-decor:nth-child(2) {
    animation-delay: -2s;
}

.hero-decor:nth-child(3) {
    animation-delay: -4s;
}

.hero-decor:nth-child(4) {
    animation-delay: -1s;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #d4a832 0%, #e6be4c 100%);
    color: #0a1628;
    border-radius: 9999px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(212, 168, 50, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 50, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #0a1628;
    border-radius: 9999px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #0a1628;
    color: #faf8f5;
    transform: translateY(-2px);
}

/* Section Styles */
.section-tag {
    letter-spacing: 0.1em;
}

.section-title {
    line-height: 1.2;
}

.section-desc {
    line-height: 1.7;
}

/* Service Cards */
.service-card {
    perspective: 1000px;
}

.card-inner {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .card-inner {
    transform: translateY(-8px);
}

.service-link {
    transition: all 0.3s ease;
}

/* Gallery */
.gallery-item {
    position: relative;
}

.gallery-overlay {
    transition: opacity 0.5s ease;
}

/* Testimonials */
.testimonial-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 50, 0.3);
}

/* Contact Form */
.input-field {
    transition: all 0.3s ease;
}

.input-field:focus {
    box-shadow: 0 0 0 4px rgba(212, 168, 50, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .about-image-float {
        display: none;
    }
    
    .gallery-grid {
        gap: 0.5rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 0;
    }
    
    .card-inner {
        padding: 2rem !important;
    }
}

/* Print Styles */
@media print {
    .nav,
    .hero-scroll,
    .hero-decor {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-bg {
        filter: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
