/**
 * Apex Wellness - Custom Styles
 * Additional refined styles to complement Tailwind CDN for ultra-premium feel.
 * All major layout, typography, and responsiveness handled via Tailwind utilities in templates.
 */

:root {
    --apex-primary: #0D5C63;
    --apex-accent: #C8A97E;
    --apex-dark: #0F172A;
    --apex-light: #FAF9F6;
    --apex-muted: #475569;
    --apex-border: #E5E0D8;
}

/* Premium button styles */
.apex-btn-primary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.025em;
}

.apex-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(13 92 99 / 0.2), 0 4px 6px -4px rgb(13 92 99 / 0.2);
}

.apex-btn-secondary {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    letter-spacing: 0.025em;
}

.apex-btn-secondary:hover {
    background-color: #0D5C63;
    color: white;
    transform: translateY(-1px);
}

/* Elegant card styles */
.apex-card {
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid var(--apex-border);
}

.apex-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

/* Service card specific */
.service-card {
    overflow: hidden;
}

.service-card img {
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.service-card:hover img {
    transform: scale(1.08);
}

/* Section divider subtle line */
.apex-section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--apex-border), transparent);
}

/* Modal premium styling */
.apex-modal {
    animation: modalEnter 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Form input premium focus */
.apex-input {
    transition: all 0.2s ease;
}

.apex-input:focus {
    border-color: var(--apex-primary);
    box-shadow: 0 0 0 4px rgba(13, 92, 99, 0.08);
    outline: none;
}

/* Testimonial quote styling */
.testimonial-quote {
    position: relative;
}

.testimonial-quote::before {
    content: '“';
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: #C8A97E;
    opacity: 0.15;
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
}

/* Smooth image loading */
img {
    transition: opacity 0.4s ease;
}

/* Mobile menu slide-in */
.mobile-menu {
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Perfect alignment helper for icons in pillars */
.pillar-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #F1EDE4;
    color: #0D5C63;
}

/* Footer link hover */
.footer-link {
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #C8A97E;
}

/* Responsive typography refinements */
@media (max-width: 640px) {
    .hero-headline {
        font-size: 2.75rem !important;
        line-height: 1.1 !important;
    }
}

/* Print styles for clean brand materials if needed */
@media print {
    .no-print {
        display: none !important;
    }
}