/* Additional custom styles beyond Tailwind */

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

/* Custom focus styles for accessibility */
*:focus {
    outline: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Geometric pattern for hero section */
.geo-pattern {
    background-image: 
        linear-gradient(45deg, rgba(125, 26, 58, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(125, 26, 58, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(125, 26, 58, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(125, 26, 58, 0.05) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

/* Geometric border effect */
.geo-border {
    position: relative;
}

.geo-border::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #7d1a3a, #ff7a8f, #7d1a3a);
    z-index: -1;
    opacity: 0.3;
    clip-path: polygon(
        0% 0%, 15% 5%, 30% 0%, 45% 5%, 60% 0%, 75% 5%, 90% 0%, 100% 5%,
        95% 15%, 100% 30%, 95% 45%, 100% 60%, 95% 75%, 100% 90%, 95% 100%,
        85% 95%, 70% 100%, 55% 95%, 40% 100%, 25% 95%, 10% 100%, 0% 95%,
        5% 85%, 0% 70%, 5% 55%, 0% 40%, 5% 25%, 0% 10%
    );
}

/* Service card hover effects */
.service-card {
    transition: all 0.3s ease;
}

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

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

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

/* Gallery hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Form input focus effects */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: scale(1.02);
}

/* CTA button pulse animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Mobile menu animation */
.mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Testimonial card styling */
.testimonial-card {
    background: linear-gradient(135deg, rgba(253, 246, 240, 0.95) 0%, rgba(255, 245, 247, 0.95) 100%);
    backdrop-filter: blur(10px);
}

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

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

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

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

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

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

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

::-webkit-scrollbar-track {
    background: #FDF6F0;
}

::-webkit-scrollbar-thumb {
    background: #7d1a3a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6a1833;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geometric-accent {
        display: none;
    }
}

/* Print styles */
@media print {
    .geometric-accent,
    .animate-float,
    .animate-float-reverse,
    .animate-spin-slow {
        display: none;
    }
}
