/**
 * Theme Name:     Spartan Cash For Old Scrap Cars
 * Author:         the WordPress team
 * Template:       twentytwentyfive
 * Text Domain:    royal-cash-for-old-scrap-cars
 * Description:    Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
 */


/* =========================================================
   GOOGLE FONTS
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');


/* =========================================================
   GLOBAL STYLES
========================================================= */

body {
    background-color: #ffffff !important;
    font-family: 'Oswald', sans-serif !important;
}

.uagb-button__link,
span,
div,
p,
a,
li,
button,
input,
textarea,
select {
    font-family: 'Oswald', sans-serif !important;
}

.uagb-button__link, .uagb-buttons-repeater {
    font-size: 18px !important;
	font-weight: 700 !important;
}

.uagb-buttons__outer-wrap.uagb-btn__medium-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline), .uagb-buttons__outer-wrap.uagb-btn__medium-btn .uagb-buttons-repeater.ast-outline-button { padding: 7px 30px;}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
}

a {
    text-decoration: none !important;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1 {
    font-size: 62px !important;
}

h2 {
    font-size: 48px !important;
}

h3 {
    font-size: 25px !important;
}

h4 {
    font-size: 26px !important;
}

h5 {
    font-size: 17px !important;
}

p,
li {
    font-size: 18px !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    line-height: 1.5em !important;
}

p.uagb-desc-text {
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1.2em !important;
}


/* =========================================================
   ACCESSIBILITY / FOCUS
========================================================= */

:where(.wp-site-blocks *:focus) {
    outline: none !important;
}

:where(.wp-site-blocks *:focus-visible) {
    outline: 2px solid #fc4b21 !important;
    outline-offset: 3px !important;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media only screen and (max-width: 782px) {

    button.wp-block-navigation__responsive-container-open {
        background-color: #fc4b21 !important;
        padding: 5px !important;
        border-radius: 15px 2px !important;
    }

    h1 {
        font-size: 35px !important;
    }

    h2 {
        font-size: 30px !important;
    }

    h3 {
        font-size: 25px !important;
    }
}


/* =========================================================
   LOCATION GRID
========================================================= */

.location-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

.location-box {
    border: 2px solid #212120 !important;
    border-radius: 10px !important;
    padding: 12px 24px !important;
    color: #212120 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 18px !important;
    background-color: #fc4b21 !important;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease !important;
    cursor: pointer !important;
}

.location-box:hover {
    background-color: #212120 !important;
    color: #fff !important;
    border-color: #fc4b21 !important;
}

.location-box i {
    margin-right: 10px !important;
    font-size: 18px !important;
}

.location-box a {
    color: #fff !important;
    width: 100% !important;
    display: block !important;
}

.location-box:hover a {
    color: #fff !important;
}


/* =========================================================
   LOCATION GRID - TABLET / MOBILE
========================================================= */

@media only screen and (max-width: 768px) {

    .location-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 14px !important;
    }

    .location-box {
        font-size: 16px !important;
        padding: 12px !important;
    }

    .location-box i {
        font-size: 15px !important;
    }
}


/* =========================================================
   LOCATION GRID - SMALL MOBILE
========================================================= */

@media only screen and (max-width: 480px) {

    .location-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 10px 0 !important;
    }

    .location-box {
        font-size: 14px !important;
        padding: 10px !important;
    }

    .location-box i {
        font-size: 14px !important;
    }
}


/* =========================================================
   BRAND COLOR PALETTE
========================================================= */

.has-accent-1-color {
    color: #fc4b21 !important;
}

.has-accent-1-background-color {
    background-color: #fc4b21 !important;
}

.has-accent-2-color {
    color: #212120 !important;
}

.has-accent-2-background-color {
    background-color: #212120 !important;
}


/* =========================================================
   BUTTON / LINK BRAND CONSISTENCY
========================================================= */

.wp-element-button,
.wp-block-button__link,
.uagb-button__link {
    font-family: 'Oswald', sans-serif !important;
    text-decoration: none !important;
}


/* =========================================================
   FORM FIELDS
========================================================= */

input,
textarea,
select {
    font-family: 'Oswald', sans-serif !important;
}


/* =========================================================
   BRAND VARIABLES - REFERENCE
========================================================= */

/*
Primary Dark:   #212120
Primary Orange: #fc4b21
Light Cream:    #000000
White:          #ffffff
*/

/* Go Cash For Old Scrap Cars brand accents */
.location-box i { color: #fff !important; }
.location-box:hover i { color: #ffffff !important; }


/* Spartan Cash For Old Scrap Cars brand consistency */
:root {
  --power-blue: #51040a;
  --power-red: #fc4b21;
  --power-charcoal: #212120;
}
a:hover { color: #51040a; }
input[type="submit"], button[type="submit"] { background-color:#fc4b21; border-color:#fc4b21; }
input[type="submit"]:hover, button[type="submit"]:hover { background-color:#51040a; border-color:#51040a; }
