/* Custom Styles for Maid A Day */

:root {
    --plum-50: #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8d1db;
    --plum-300: #d4adba;
    --plum-400: #c08a9a;
    --plum-500: #a86d7e;
    --plum-600: #8f5565;
    --plum-700: #7a4654;
    --plum-800: #653a46;
    --plum-900: #54313b;
    
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
}

/* Custom Color Classes */
.text-plum-600 { color: var(--plum-600); }
.text-plum-700 { color: var(--plum-700); }
.text-plum-100 { color: var(--plum-100); }
.text-plum-200 { color: var(--plum-200); }
.text-amber-200 { color: var(--amber-200); }
.text-amber-300 { color: var(--amber-300); }
.bg-plum-600 { background-color: var(--plum-600); }
.bg-plum-100 { background-color: var(--plum-100); }

/* Font Families */
.font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

/* Selection Color */
::selection {
    background-color: var(--plum-200);
    color: var(--plum-900);
}

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

::-webkit-scrollbar-track {
    background: var(--plum-50);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-400);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--plum-600);
    transition: width 0.3s ease;
}

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

/* Hero Animations */
.hero-title {
    animation: slideUp 0.8s ease forwards;
}

.hero-subtitle {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-desc {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta-primary {
    animation: slideUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-cta-secondary {
    animation: slideUp 0.8s ease 0.7s forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Image Animation */
.hero-image-wrapper {
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Service Cards */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    background-color: var(--plum-50);
}

/* Process Steps */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 60%;
    background-color: var(--plum-200);
    transform: translateY(-50%);
}

.process-step:last-child::after {
    display: none;
}

/* Gallery Items */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    filter: brightness(1.05);
}

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--plum-600) !important;
}

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

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

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .about-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .process-number {
        font-size: 4rem !important;
    }
}

/* Print Styles */
@media print {
    .fixed,
    .scroll-indicator,
    .gallery-item {
        display: none;
    }
}

/* Accessibility */
@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;
    }
}
