/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Header */
#header {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
}

/* Navigation links */
.nav-link {
    position: relative;
}

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

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

/* Mobile nav links */
.mobile-nav-link {
    position: relative;
    padding-left: 0;
    border-left: 3px solid transparent;
    transition: border-color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-link:hover {
    border-left-color: #7B2D8E;
    padding-left: 12px;
}

/* Primary button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #7B2D8E 0%, #632472 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 45, 142, 0.25);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 45, 142, 0.35);
    background: linear-gradient(135deg, #8b3a9e 0%, #7B2D8E 100%);
}

/* Secondary button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    color: #7B2D8E;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    border: 2px solid rgba(123, 45, 142, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(123, 45, 142, 0.08);
    border-color: rgba(123, 45, 142, 0.4);
    transform: translateY(-2px);
}

/* CTA buttons */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fbbf24;
    color: #7B2D8E;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

.btn-cta:hover {
    background: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* Input fields */
.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8c2ee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #37153f;
    background: #faf0fc;
    transition: all 0.2s ease;
    outline: none;
}

.input-field::placeholder {
    color: #d495dd;
}

.input-field:hover {
    border-color: #b865c5;
}

.input-field:focus {
    border-color: #7B2D8E;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(123, 45, 142, 0.1);
}

select.input-field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237B2D8E' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Floating animation for hero card */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Pulse animation for accent dots */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

/* Print styles */
@media print {
    #header, .animate-bounce {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
