/* Additional custom styles */

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

/* Ensure all text has good contrast */
.text-plum-900 {
    color: #4f2237;
}

.text-plum-800 {
    color: #5e2942;
}

.text-plum-700 {
    color: #723150;
}

.text-plum-600 {
    color: #8b3f64;
}

.text-plum-500 {
    color: #a5527b;
}

.text-plum-400 {
    color: #c07a9a;
}

.text-plum-300 {
    color: #dbaa ba;
}

.text-plum-200 {
    color: #ebcdd9;
}

.text-plum-100 {
    color: #f5e8ed;
}

/* Ensure buttons have good contrast */
.btn-primary {
    background: linear-gradient(135deg, #a5527b, #d4a0c4);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8b3f64, #a5527b);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fbbf24;
    color: #4f2237;
}

.btn-secondary:hover {
    background: #fbbf24;
    color: #4f2237;
}

/* Ensure form inputs are readable */
.form-input {
    background-color: #ffffff;
    color: #4f2237;
}

.form-input::placeholder {
    color: #dbaa ba;
}

/* Navigation background */
#navbar {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Hero section text contrast */
.hero-gradient h1,
.hero-gradient h2,
.hero-gradient h3,
.hero-gradient p {
    color: #ffffff;
}

/* Testimonial cards */
.testimonial-card {
    background-color: #ffffff;
}

.testimonial-card p {
    color: #f5e8ed;
}

/* Footer links */
footer a {
    color: #dbaa ba;
}

footer a:hover {
    color: #ffffff;
}

/* Ensure all links are readable */
a {
    transition: color 0.3s ease;
}

/* Mobile menu background */
.mobile-menu {
    background-color: #ffffff;
}

/* Service cards */
.service-card {
    background-color: #faf5f7;
}

.service-card h3 {
    color: #4f2237;
}

.service-card p {
    color: #723150;
}

/* Section backgrounds */
#services {
    background-color: #ffffff;
}

#about {
    background-color: #faf5f7;
}

#gallery {
    background-color: #ffffff;
}

#contact {
    background-color: #faf5f7;
}

/* Ensure proper spacing */
section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 768px) {
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Accessibility: Focus states */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Reduced motion preference */
@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 !important;
        transform: none !important;
    }
}
