/*
 * Theme Name:        Bowtys Music Emporium Landing Page
 * Theme URI:         https://#
 * Description:       This is the custom theme for the Bowty's Music Emporium Landing Page.
 * Version:           1.0.2
 * Author:            Go Grove Marketing
 * Author URI:        https://www.gogrovemarketing.com
 * Tags:
 * Text Domain:       bowtys-music-emporium
 * Domain Path:
 */


/*=========================================================
  CSS RESET
=========================================================*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
}

html {
    font-size: 100%;
    line-height: 1.5;
    scroll-behavior: smooth;
}

body {
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
    line-height: 1.5;
    background-color: #f3f3f3;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
    text-wrap: pretty;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

input,
textarea,
button,
select {
    font: inherit;
    line-height: inherit;
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid #555;
    outline-offset: 2px;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

fieldset,
legend,
hr {
    border: 0;
}

.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;
}


/*=========================================================
  SHARED LAYOUT UTILITIES
=========================================================*/

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

section {
    padding: 25px 0 0;
}

.first-section {
    padding-top: 0;
}

.last-section {
    padding-bottom: 0;
}


/* Background Helpers */

.bg-light {
    background-color: #f9f9f9;
}

.bg-dark {
    background-color: #111;
    color: #eee;
}

.bg-primary {
    background-color: #0073e6;
    color: #fff;
}


/* Global Button Style */

.button,
a.button,
input[type="submit"],
button {
    background-color: #0073e6;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    text-decoration: none;
}

.button:hover,
a.button:hover,
input[type="submit"]:hover,
button:hover {
    background-color: #005bb5;
}


/* Anchor Link Spacing */

[id] {
    scroll-margin-top: 100px;
}


/* Section Typography */

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
    text-align: center;
}

section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #555;
}


/*=========================================================
  FUN STYLES
=========================================================*/

.grow,
img.custom-logo {
    transition: all 0.2s ease-in-out;
}

.grow:hover,
img.custom-logo:hover {
    transform: scale(1.125);
}


/*=========================================================
  HEADER / NAVIGATION
=========================================================*/

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}


/* Logo */

.logo {
    flex: 0 1 auto;
    min-width: 0;
}

.logo img {
    max-height: 50px;
    width: auto;
}


/* Navigation */

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    min-width: 0;
}


/* Contact Button */

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    background-color: #70333a;
    background: linear-gradient(
        45deg,
        #FFD700,
        #FFC107,
        #FFB300,
        #FFA000
    ) !important;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #5e2b31;
    background: linear-gradient(
        45deg,
        #FFA000,
        #FFB300,
        #FFC107,
        #FFD700
    ) !important;
    opacity: 0.9;
}


/*=========================================================
  HERO
=========================================================*/

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem 3rem;
    color: #fff;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    z-index: 1;
}


/* Hero Overlay */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


/* Hero Content */

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #fff;
}


/* Hero CTA */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #70333a;
    background: linear-gradient(
        45deg,
        #FFD700,
        #FFC107,
        #FFB300,
        #FFA000
    ) !important;
    padding: 0.75rem 1.5rem;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #5e2b31;
    background: linear-gradient(
        45deg,
        #FFA000,
        #FFB300,
        #FFC107,
        #FFD700
    ) !important;
    opacity: 0.9;
}


/*=========================================================
  FEATURE BOXES
=========================================================*/

.features {
    background-color: #f9f9f9;
    padding-top: 3rem;
    padding-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.features-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    position: relative;
    margin-top: -160px;
    z-index: 3;
}

.feature-box {
    flex: 1 1 300px;
    max-width: 380px;
    min-width: 0;

    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}


/* Feature Icons */

.feature-box .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    height: 72px;
}

.feature-box .icon img {
    width: 72px;
    height: auto;
    display: block;
}


/* Feature Typography */

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}


/* Feature Button */

.feature-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    background-color: #70333a;
    background: linear-gradient(
        45deg,
        #FFD700,
        #FFC107,
        #FFB300,
        #FFA000
    ) !important;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.feature-btn:hover {
    background-color: #5e2b31;
    background: linear-gradient(
        45deg,
        #FFA000,
        #FFB300,
        #FFC107,
        #FFD700
    ) !important;
    opacity: 0.9;
}


/* Spotify */

.spotify-box {
    width: 80%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
}


/*=========================================================
  MAIN CONTENT / FLEXIBLE CONTENT SECTIONS
=========================================================*/

.test-box1,
.test-box2 {
    width: 100%;
    margin: 0 auto;
    padding: 3rem 5%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 3rem;
}

.test-box1 > *,
.test-box2 > * {
    min-width: 0;
}


/* Alternating Layout */

.flip-flop {
    flex-direction: row-reverse;
}


/* Main Images */

.test-box1 img,
.test-box2 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.test-box1 > img,
.test-box1.flip-flop > img {
    flex: 1 1 500px;
    max-width: 600px;
}

.test-box1 img {
    border-radius: 25px 0 0 0;
}

.test-box1.flip-flop img {
    border-radius: 0 0 25px 0;
}

.test-box2 img {
    max-width: 100%;
}


/* Text Content */

.scroll-box-text {
    flex: 1 1 400px;
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 1rem;
}


/* Last Section */

.last-section .test-box2 {
    padding: 0;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;
}


/*=========================================================
  CONTACT / FORM STYLES
=========================================================*/

.contact-section {
    padding: 5rem 1.5rem;
    background-color: #f5f5f5;
    text-align: center;
}


/* WPForms Container */

.wpforms-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding: 0 1rem;
}


/* Form Headings */

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
    text-align: center;
}

.contact-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
    text-align: center;
}


/* Form Labels */

.wpforms-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}


/* Form Fields */

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form textarea,
.wpforms-form select {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.wpforms-form input:focus,
.wpforms-form textarea:focus,
.wpforms-form select:focus {
    border-color: #70333a;
    outline: none;
}


/* Submit Button */

.wpforms-submit {
    background-color: #FFB300 !important;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wpforms-submit:hover {
    background-color: #5e2b31;
}

.contact-section .wpforms-container .wpforms-form .wpforms-submit {
    background-color: #FFB300 !important;
    color: #fff;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.contact-section .wpforms-container .wpforms-form .wpforms-submit:hover {
    background-color: #5e2b31;
}


/* Error Styles */

.wpforms-error {
    color: #b00020;
    font-size: 0.875rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
}


/* Success Message */

.wpforms-confirmation-container-full {
    background-color: #e6f4ea;
    color: #2a5d3c;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1rem;
    margin-top: 1.5rem;
    text-align: center;
}


/*=========================================================
  FOOTER
=========================================================*/

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.95);
}

.site-footer {
    width: 100%;
    background-color: #111;
    color: #eee;
    padding: 2.5rem 1.5rem;
    font-size: 0.9rem;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    gap: 1.5rem;

    text-align: left;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left,
.footer-right {
    margin: 0.5rem 0;
}


/* Footer Navigation */

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.footer-nav a {
    color: #eee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-left a:hover {
    color: #FFB300 !important;
}


/* Font Awesome */

.fa-brands {
    color: #eee;
    transition: color 0.3s ease;
}


/* Facebook Icon */

.footer-nav i.fa-facebook {
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
}

.footer-nav a:hover i.fa-facebook {
    color: #FFB300;
}


/*=========================================================
  RESPONSIVE STYLES
=========================================================*/


/*---------------------------------------------------------
  TABLET
---------------------------------------------------------*/

@media (max-width: 1024px) {

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .nav-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .features-container {
        gap: 1.5rem;
    }

    .feature-box {
        flex-basis: 280px;
    }

    .test-box1,
    .test-box2 {
        padding-left: 3%;
        padding-right: 3%;
        gap: 2rem;
    }
}


/*---------------------------------------------------------
  MOBILE
---------------------------------------------------------*/

@media (max-width: 768px) {

    /* Disable motion on smaller screens */

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }


    /* Typography */

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5 {
        font-size: 1.125rem;
    }

    h6 {
        font-size: 1rem;
    }


    /* General Sections */

    section {
        padding-top: 20px;
    }


    /*-----------------------------------------------------
      MOBILE NAVIGATION
    -----------------------------------------------------*/

    .site-header {
        padding: 0.75rem 0;
    }

    .nav-container {
        width: 100%;
        padding: 0 1rem;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 0.75rem;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo img {
        max-width: 180px;
        max-height: 45px;
        height: auto;
    }

    .nav {
        width: 100%;

        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;

        gap: 0.5rem 1rem;
    }

    .nav a {
        white-space: nowrap;
    }

    .contact-btn {
        width: auto;
        min-width: 150px;
        margin-top: 0.25rem;
    }


    /*-----------------------------------------------------
      MOBILE HERO
    -----------------------------------------------------*/

    .hero {
        min-height: 80vh;
        height: auto;

        padding: 6rem 1.25rem 3rem;

        background-attachment: scroll;
    }

    .hero-content {
        width: 100%;
        max-width: 650px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;

        margin: 0 auto;

        display: flex;
        align-items: center;
        justify-content: center;
    }


    /*-----------------------------------------------------
      MOBILE FEATURE BOXES
    -----------------------------------------------------*/

    .features {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .features-container {
        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 1.5rem;

        margin-top: -40px;
    }

    .feature-box {
        width: 100%;
        max-width: none;

        flex: 0 1 auto;
    }

    .spotify-box {
        width: 100%;
        max-width: 100%;
    }


    /*-----------------------------------------------------
      MOBILE CONTENT SECTIONS
    -----------------------------------------------------*/

    .test-box1,
    .test-box2,
    .test-box1.flip-flop {
        width: 100%;

        flex-direction: column;

        padding: 2rem 1.25rem;

        gap: 2rem;
    }

    .test-box1 > *,
    .test-box2 > * {
        width: 100%;
        max-width: 100%;
    }

    .test-box1 > img,
    .test-box1.flip-flop > img,
    .test-box2 img {
        width: 100%;
        max-width: 100%;

        height: auto;

        flex: 0 1 auto;

        border-radius: 0;
    }

    .scroll-box-text {
        width: 100%;
        max-width: 100%;

        flex: 0 1 auto;

        padding: 0;

        align-items: center;
        text-align: center;
    }


    /*-----------------------------------------------------
      MOBILE CONTACT
    -----------------------------------------------------*/

    .contact-section {
        padding: 3rem 1.25rem;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .contact-section p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .wpforms-container {
        width: 100%;
        max-width: 600px;
        padding: 0;
    }

    .wpforms-form input[type="text"],
    .wpforms-form input[type="email"],
    .wpforms-form input[type="tel"],
    .wpforms-form input[type="url"],
    .wpforms-form textarea,
    .wpforms-form select {
        width: 100%;
        max-width: 100%;
    }

    .wpforms-submit {
        width: 100%;
        max-width: 300px;
    }


    /*-----------------------------------------------------
      MOBILE FOOTER
    -----------------------------------------------------*/

    .site-footer {
        padding: 2rem 1.25rem;
    }

    .footer-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;

        text-align: center;

        gap: 1rem;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        margin: 0;
    }

    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }
}


/*---------------------------------------------------------
  SMALL PHONES
---------------------------------------------------------*/

@media (max-width: 480px) {

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    h4 {
        font-size: 1.15rem;
    }


    /* Hero */

    .hero {
        min-height: 75vh;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero p {
        font-size: 0.95rem;
    }


    /* Features */

    .features-container {
        margin-top: -25px;
    }

    .feature-box {
        padding: 1.5rem;
    }


    /* Content */

    .test-box1,
    .test-box2 {
        padding-left: 1rem;
        padding-right: 1rem;
    }


    /* Footer */

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}


/*=========================================================
  SCROLL ANIMATION
=========================================================*/

.scroll-section {
    opacity: 0;
    transform: translateX(100px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
    will-change: opacity, transform;
}


/* Slide in from LEFT */

.scroll-section.from-left {
    transform: translateX(-100px);
}


/* Visible */

.scroll-section.show {
    opacity: 1;
    transform: translateX(0);
}


/*=========================================================
  ACCESSIBILITY / REDUCED MOTION
=========================================================*/

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-section {
        opacity: 1;
        transform: none;
    }
}