/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://martineri.com
 Description:  Hello Elementor Child Theme for Martin ERI
 Author:       Martin ERI
 Author URI:   https://martineri.com
 Template:     hello-elementor
 Version:      1.0.0
*/


/* ============================================
   MARTIN ERI — BRAND CSS
   Hello Elementor Child Theme
   ============================================ */


/* --------------------------------------------
   1. GOOGLE FONTS IMPORT
   -------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');


/* --------------------------------------------
   2. GLOBAL VARIABLES
   -------------------------------------------- */
:root {
    --color-navy:       #1D4F7C;
    --color-blue:       #7BBCDC;
    --color-white:      #FFFFFF;
    --color-offwhite:   #F7F9FB;
    --color-text:       #2C2C2C;
    --color-muted:      #6B7280;
    --font-heading:     'Playfair Display', Georgia, serif;
    --font-body:        'DM Sans', sans-serif;
}


/* --------------------------------------------
   3. BASE TYPOGRAPHY
   -------------------------------------------- */
body {
    font-family: var(--font-body);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.25;
    font-weight: 600;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }

p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: inherit;
    margin-bottom: 1.25rem;
}

a {
    color: var(--color-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-blue);
}


/* --------------------------------------------
   4. BUTTONS
   -------------------------------------------- */

/* Primary Button — Navy fill */
.elementor-button,
.elementor-button-wrapper .elementor-button,
a.elementor-button {
    background-color: var(--color-navy) !important;
    color: var(--color-white) !important;
    font-family: var(--font-body) !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    border-radius: 3px !important;
    padding: 14px 32px !important;
    border: 2px solid var(--color-navy) !important;
    transition: all 0.2s ease !important;
}

.elementor-widget-button.process-button .elementor-button {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #1D4F7C !important;
}

}

.elementor-button:hover,
.elementor-button-wrapper .elementor-button:hover,
a.elementor-button:hover {
    background-color: transparent !important;
    color: var(--color-navy) !important;
    border-color: var(--color-navy) !important;
}

/* Secondary Button — Outline style */
.elementor-button.button-outline {
    background-color: transparent !important;
    color: var(--color-navy) !important;
    border: 2px solid var(--color-navy) !important;
}

.elementor-button.button-outline:hover {
    background-color: var(--color-navy) !important;
    color: var(--color-white) !important;
}


/* --------------------------------------------
   5. NAVIGATION
   -------------------------------------------- */
.elementor-nav-menu a,
.elementor-nav-menu--main .elementor-nav-menu > li > a {
    font-family: var(--font-body) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: var(--color-navy) !important;
}

.elementor-nav-menu--main .elementor-nav-menu > li > a:hover {
    color: var(--color-blue) !important;
}

/* Active page link */
.elementor-nav-menu--main .elementor-nav-menu > li.current-menu-item > a {
    color: var(--color-blue) !important;
    border-bottom: 2px solid var(--color-blue);
}


/* --------------------------------------------
   6. HERO SECTION
   -------------------------------------------- */
.hero-section {
    background-color: var(--color-navy);
    padding: 100px 0;
}

.hero-section h1,
.hero-section .elementor-heading-title {
    font-family: var(--font-heading) !important;
    color: var(--color-white) !important;
    font-size: 3rem !important;
    line-height: 1.2 !important;
}

.hero-section p,
.hero-section .elementor-widget-text-editor p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 1.125rem !important;
    line-height: 1.75 !important;
}


/* --------------------------------------------
   7. SECTION BACKGROUNDS
   -------------------------------------------- */

/* Light background sections */
.section-light {
    background-color: var(--color-offwhite);
}

/* Navy background sections */
.section-navy {
    background-color: var(--color-navy);
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4,
.section-navy p {
    color: var(--color-white) !important;
}


/* --------------------------------------------
   8. DIVIDERS & ACCENTS
   -------------------------------------------- */
.elementor-divider-separator {
    border-color: var(--color-blue) !important;
}

/* Section heading accent line */
h2.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--color-blue);
    margin-top: 12px;
}


/* --------------------------------------------
   9. CARDS & COLUMNS
   -------------------------------------------- */
.elementor-widget-wrap .elementor-inner-section {
    border-radius: 4px;
}

.practice-card {
    background-color: var(--color-white);
    border-top: 4px solid var(--color-blue);
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}

.practice-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.practice-card h3 {
    font-family: var(--font-heading) !important;
    color: var(--color-navy) !important;
    font-size: 1.4rem !important;
    margin-bottom: 12px;
}


/* --------------------------------------------
   10. FOOTER
   -------------------------------------------- */
.elementor-location-footer,
footer {
    background-color: var(--color-navy) !important;
    color: var(--color-white) !important;
}

.elementor-location-footer p,
.elementor-location-footer a,
footer p,
footer a {
    color: rgba(255,255,255,0.75) !important;
    font-family: var(--font-body) !important;
    font-size: 0.875rem !important;
}

.elementor-location-footer a:hover,
footer a:hover {
    color: var(--color-blue) !important;
}


/* --------------------------------------------
   11. RESPONSIVE — MOBILE
   -------------------------------------------- */
@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1,
    .hero-section .elementor-heading-title {
        font-size: 2rem !important;
    }
}


/* --------------------------------------------
   12. LOGO & HEADER
   -------------------------------------------- */
.custom-logo {
    max-width: 400px !important;
    height: auto !important;
}

.site-header {
    padding: 0 !important;
    min-height: 0 !important;
}

.site-branding {
    padding: 0 !important;
}


/* --------------------------------------------
   13. NAVY SECTION WHITE TEXT
   -------------------------------------------- */
.navy-section .elementor-widget-text-editor p,
.navy-section .elementor-widget-text-editor *,
.navy-section .elementor-heading-title,
.navy-section p,
.navy-section span,
.navy-section div {
    color: #FFFFFF !important;
}

.navy-column,
.navy-column *,
.navy-column p,
.navy-column span,
.navy-column div {
    color: #FFFFFF !important;
}

@media (max-width: 767px) {
    .navy-section * {
        color: #FFFFFF !important;
    }
    .navy-column * {
        color: #FFFFFF !important;
    }
}

.elementor-widget-text-editor p, .elementor-widget-text-editor li {
    font-weight: 400 !important;
    font-family: var(--font-body) !important;
    font-size: 21px !important;
}

.hero-text p {
    color: #FFFFFF !important;
}

.intro-text .elementor-heading-title {
    text-align: center !important;
}

.navy-section .elementor-widget-text-editor p {
    color: #ffffff !important;
}