@import url(./components/bubbles.css);
@import url(./components/header.css);
@import url(./components/banner.css);
@import url(./components/navbar.css);
@import url(./components/sound-card.css);
@import url(./components/mixer-controls.css);
@import url(./components/footer.css);

/* ! DO NOT TOUCH IF NOT NECESSERY */
/* ! IF ANY VARIABLES NEED TO BE CHANGED, CONTACT OTHER MAINTAINERS/CONTRIBUTORS BEFORE CHANGING */
:root {
    --primary: #7aa9b7;
    --primary-light: #4895ef;
    --secondary: #3f37c9;
    --accent: #4a86e8;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --card-bg: hsla(0, 0%, 100%, 0.4);
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

.dark-mode {
    --primary: #7aa9b7;
    --primary-light: #4895ef;
    --secondary: #3a0ca3;
    --light: #121212;
    --dark: #f8f9fa;
    --gray: #adb5bd;
    --light-gray: #2d2d2d;
    --card-bg: hsla(0, 0%, 12%, 0.4);
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

a {
    text-decoration: none;
}

input {
    max-width: 100%;

}

.hidden-class {
    display: none;
}

/* this css for body dosen't work when bubbles is added */
/* ! CHECK /.styles/components/bubbles.css for changing the background color */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e6f7ff 0%, #d0e8e6 100%);
    color: var(--dark);
    min-height: 100vh;
    padding: 20px;
    transition: var(--transition);
    overflow-x: hidden;
}

.dark-mode body {
    background: linear-gradient(135deg, #152a32 0%, #0b1a1f 100%);
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}





/* dynamic */
@media (max-width: 768px) {

    .sm-class {
        display: none;
    }

    .lg-class {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }


    .logo h1,
    .theme-toggle span {
        display: none;
    }


    .sound-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

        .card-body {
        padding: 15px;
    }


    .filter-content {
        /* flex-direction: column; */
        align-items: center;
    }


    .theme-toggle {
        padding: 16px 20px;
        width: min-content;
    }


    .mixer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .master-volume {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .sm-class {
        display: block;
    }

    .lg-class {
        display: none;
    }

    /* .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    } */

    .logo i {
        font-size: 2.0rem;
        padding-left: 8px;

    }



    .filter-bar {
        /* background: none; */
        padding: 5px;
        /* border: none; */
        /* removes the halo on small screens */
        border-radius: 70px;
        box-shadow: none;
    }

    .search-container {
        align-self: center;
        background:none;
    }

    .search-container input {
        font-size: 14px;
    }

    .category-filter {
        display: none;
    }

    .sound-grid {
        grid-template-columns: 1fr;
    }

    .card-body {
        padding: 10px;
    }

    .audio-player {
        border-radius: 10px;
    }



    header {
        flex-direction: column;
        gap: 20px;
    }
}