/* =========================================
   FINAL ORGANIZED STORE CSS
   ========================================= */

/* -----------------------------------------
   RESET AND BASE STYLES
----------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

/* -----------------------------------------
   COLOR VARIABLES
----------------------------------------- */
:root {
    --primary-color: #000;
    --hover-link-color: #f0f7ff;
    --scrolled-link-color: #000;
    --active-link-color: #d8ebff;
    --active-scrolled-color: #555;
    --scrolled-hover-color: #007bff;
    --footer-bg-color: #222;
    --footer-text-color: white;
}

/* =========================================
   HEADER
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    background-color: rgba(0,123,255,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    z-index: 10;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: rgba(0,123,255,0.2);
    padding: 5px 0;
}

.logo {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav {
    width: 100%;
	z-index: 10;
}

.nav-bar {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 37.5px;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.325s cubic-bezier(0.25,0.8,0.25,1);
}

.nav-links a.active {
    color: var(--active-link-color);
}

.nav-links a:hover,
.nav-links a.active:hover {
    color: var(--hover-link-color);
}

.header.scrolled .nav-links a {
    color: var(--scrolled-link-color);
}

.header.scrolled .nav-links a.active {
    color: var(--active-scrolled-color);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active:hover {
    color: var(--scrolled-hover-color);
    transition: color 0.3s ease-in-out;
}

/* =========================================
   FOOTER
========================================= */
footer { display: flex; justify-content: center; background-color: var(--footer-bg-color); padding: 20px; color: var(--footer-text-color); width: 100%; min-height: 60px; max-height: 120px; overflow: hidden; }
footer p { text-decoration: none; color: white; text-align: center; }

.social-icon { margin-left: 15px; margin-top: 1.5px; }

.terms-icon { color: #a28564; }
.terms-icon:hover { color: #917350; transition: color 0.3s; transform: scale(1.1); }

.privacy-policy-icon { color: #75A264; transition: color 0.3s; }
.privacy-policy-icon:hover { color: #629150; transition: color 0.3s; transform: scale(1.1); }

.purchase-policy-icon { color: #5F7BE0; transition: color 0.3s; }
.purchase-policy-icon:hover { color: #4562cb; transition: color 0.3s; transform: scale(1.1); }

.youtube-icon { color: #c74444; transition: color 0.3s; }
.youtube-icon:hover { color: #AB3131; transition: color 0.3s; transform: scale(1.1); }

.instagram-icon { color: #9042DF; transition: color 0.3s; }
.instagram-icon:hover { color: #7e2ccb; transition: color 0.3s; transform: scale(1.1); }


/* =========================================
   RESPONSIVE MEDIA QUERIES
========================================= *

/* --------- MOBILE ≤600px --------- */
@media (max-width: 600px) {
    .nav-bar {
        gap: 17.5px;
    }

    .nav-links {
        margin: 0 5px;
    }
}

/* --------- SMALL MOBILE ≤400px --------- */
@media (max-width: 400px) {
    .nav-bar {
        gap: 12px;
    }

    .nav-links {
        margin: 0 2px;
    }
}
