/**
 * EWP Site Styles
 * Supplementary CSS for ETERNITY WEALTH PARTNERS Elementor templates
 *
 * This file contains only styles that cannot be achieved
 * through Elementor's native styling options.
 */

/* ========================================
   Base Resets (if not handled by theme)
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   Utility Classes
   ======================================== */

/* Gold text accent - for use within Text Editor widgets */
.ewp-text-gold,
.text-gold {
    color: var(--ewp-champagne);
}

/* Screen reader only */
.ewp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Hero Section Decorative Elements
   ======================================== */

/* Decorative circle for hero background */
.ewp-hero-circle {
    position: absolute;
    border: 1px solid rgba(196, 170, 130, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.ewp-hero-circle--large {
    width: 500px;
    height: 500px;
    top: 20%;
    left: 5%;
}

.ewp-hero-circle--small {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 5%;
    border-color: rgba(196, 170, 130, 0.1);
    border-radius: 0;
}

/* ========================================
   Stats Section Overlap
   ======================================== */

/* Negative margin for stats box overlap effect */
.ewp-stats-overlap {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .ewp-stats-overlap {
        margin-top: -1.5rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
}

/* ========================================
   Quote Decorative Styling
   ======================================== */

/* Large quote mark before blockquote */
.ewp-quote-mark::before {
    content: '\201C';
    font-family: var(--ewp-font-heading);
    font-size: 4rem;
    color: var(--ewp-champagne-light);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
}

/* ========================================
   Testimonial Cards
   ======================================== */

/* Avatar circle for testimonials */
.ewp-avatar {
    width: 52px;
    height: 52px;
    background: var(--ewp-navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ewp-champagne);
    font-family: var(--ewp-font-heading);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ========================================
   Service Detail List Bullets
   ======================================== */

/* Custom bullet points for service lists */
.ewp-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--ewp-champagne);
    border-radius: 50%;
}

.ewp-feature-list li {
    position: relative;
    padding-left: 1.75rem;
}

/* ========================================
   Contact Icon Boxes
   ======================================== */

/* Icon container with navy background */
.ewp-icon-box {
    width: 48px;
    height: 48px;
    background: var(--ewp-navy-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ewp-icon-box svg {
    stroke: #ffffff;
}

/* Circle variant for contact badges */
.ewp-icon-circle {
    width: 56px;
    height: 56px;
    background: var(--ewp-navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ewp-icon-circle svg {
    stroke: var(--ewp-champagne);
}

/* ========================================
   SVG Icon Colors
   ======================================== */

/* Service card icons */
.ewp-service-icon svg {
    stroke: var(--ewp-champagne);
}

/* ========================================
   Legal Page Styling
   ======================================== */

/* Info box with left border */
.ewp-legal-info-box {
    background: var(--ewp-cream);
    border-left: 4px solid var(--ewp-champagne);
    padding: 1.75rem 2rem;
    border-radius: 0 10px 10px 0;
}

/* Contact box in legal pages */
.ewp-legal-contact-box {
    background: var(--ewp-navy-primary);
    border-radius: 12px;
    padding: 2rem;
}

.ewp-legal-contact-box h4 {
    color: var(--ewp-white);
}

.ewp-legal-contact-box p {
    color: var(--ewp-slate-light);
}

.ewp-legal-contact-box a {
    color: var(--ewp-champagne);
}

/* ========================================
   Philosophy Cards Border
   ======================================== */

.ewp-philosophy-card {
    border: 1px solid rgba(196, 170, 130, 0.15);
}

/* ========================================
   Animations
   ======================================== */

/* Fade in up animation for scroll reveal */
@keyframes ewpFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ewp-animate-fade-in-up {
    animation: ewpFadeInUp 0.6s ease forwards;
}

/* Slide up animation */
@keyframes ewpSlideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ========================================
   Focus Styles (Accessibility)
   ======================================== */

*:focus-visible {
    outline: 2px solid var(--ewp-champagne);
    outline-offset: 2px;
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .ewp-no-print {
        display: none;
    }
}
