/* Additional custom styles for Royal Society Tattoo Company */

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

/* Body base styles */
body {
    font-family: 'Lato', sans-serif;
    background-color: #1a1412;
    color: #e8d5c0;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Cinzel', serif;
}

/* Gold gradient text effect */
.gold-gradient {
    background: linear-gradient(135deg, #c9a962 0%, #e8d5c0 50%, #c9a962 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(26, 20, 18, 0.85) 0%, rgba(42, 34, 32, 0.75) 100%);
}

/* Service card styles */
.service-card {
    background: linear-gradient(145deg, #2a2220 0%, #1a1412 100%);
    border: 1px solid rgba(201, 169, 98, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    border-color: rgba(201, 169, 98, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(201, 169, 98, 0.15);
}

/* Primary button styles */
.btn-primary {
    background: linear-gradient(135deg, #c4613a 0%, #d4785a 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d4785a 0%, #e08a6a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 97, 58, 0.4);
}

/* Secondary button styles */
.btn-secondary {
    border: 2px solid #c9a962;
    color: #c9a962;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #c9a962;
    color: #1a1412;
}

/* Navigation link hover effects */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

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

.nav-link:hover {
    color: #c9a962;
}

/* Mobile menu styles */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #c9a962;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative ornament styling */
.ornament {
    color: #c9a962;
    opacity: 0.6;
}

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

::-webkit-scrollbar-track {
    background: #1a1412;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c9a962, #c4613a);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4b87a, #d4785a);
}

/* Form input focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(201, 169, 98, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

/* Image hover zoom effect */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

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

/* Pulse animation for CTA buttons */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 169, 98, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(201, 169, 98, 0);
    }
}

.btn-primary:hover {
    animation: pulse-gold 1.5s infinite;
}
