/* Custom styles for European Eyebrows Microblading */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1A1A1A;
    background: #FAFAF8;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Selection color */
::selection {
    background: #FF6B35;
    color: white;
}

/* Smooth image loading */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A1A1A;
}
::-webkit-scrollbar-thumb {
    background: #FF6B35;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E85A20;
}

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

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

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

@keyframes pulse-coral {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255, 107, 53, 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; }
}

/* Service card hover effects */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Button styles */
.btn-coral {
    background: #FF6B35;
    color: white;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid #FF6B35;
    display: inline-block;
    cursor: pointer;
}

.btn-coral:hover {
    background: #1A1A1A;
    border-color: #1A1A1A;
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    display: inline-block;
    cursor: pointer;
}

.btn-outline:hover {
    background: white;
    color: #1A1A1A;
}

/* Pulse animation for CTA */
.pulse-cta {
    animation: pulse-coral 2s infinite;
}

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

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* FAQ accordion */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #FF6B35;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    color: #FF6B35;
    font-weight: 300;
}

/* Form styles */
.form-input {
    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;
    padding: 16px 0;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    border-radius: 0;
    color: #1A1A1A;
}

.form-input:focus {
    outline: none;
    border-bottom-color: #FF6B35;
}

.form-input::placeholder {
    color: #aaa;
}

.form-input option {
    background: white;
    color: #1A1A1A;
}

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

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

/* Hamburger animation */
.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FF6B35;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1A1A1A;
    transform: translateY(-3px);
}

/* Form success message */
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.show {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .btn-coral,
    .btn-outline {
        padding: 14px 28px;
        font-size: 0.75rem;
    }
    
    .process-step-number {
        font-size: 50px;
    }
    
    .testimonial-card {
        padding: 28px;
    }
    
    .testimonial-card::after {
        font-size: 80px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu,
    .back-to-top,
    .geo-shape {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}
